Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2012
    Posts
    9

    Unanswered: can we pass password in ssh command like this ssh user@server paswword .

    I want to pass in side the script in ssh user@server password 'for i in * ; do echo $i ; done'

    Please guide me for this .How to pass password in like that

  2. #2
    Join Date
    Jun 2003
    Location
    Toronto, Canada
    Posts
    5,516
    Provided Answers: 1
    You don't need to, if you use public key authentication.

    Setting up public key authentication over SSH
    ---
    "It does not work" is not a valid problem statement.

  3. #3
    Join Date
    Oct 2012
    Posts
    9

    i do not want to use public key.

    Without public how to use that password

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •