This question does not开发者_JS百科 appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this questionI am trying to connect to a remote server through ssh.
$ssh "username"@host "command" which prompts for password which can be done in interactive systems.But I want to automate this by passing the password as argument instead of typing interactively. I am using ksh shell and I can't use expect is there any ksh specific solution to connect to remote server.
Just set up authentication keys so that you don't need passwords. See man ssh-keygen
for full details.
精彩评论