SSH with Password in Shell script


Results 1 to 6 of 6

Thread: SSH with Password in Shell script

Threaded View

  1. #2
    Join Date
    Oct 2000
    Location
    Sweden
    Posts
    494
    Well, it has been asked quite a few times... Thing is, you can't - not in a "normal" way.
    Maybe you can write something in C++ or whatever programming language you master.

    Wat you normally do when you need to login without any user action is use ssh keys. I found one instruction here: http://www.linuxproblem.org/art_9.html
    (I haven't validated it but it looks correct.)
    Last edited by x; 11-30-2012 at 02:00 PM.
    In pingvino veritas!

Posting Permissions

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