开发者

Connecting to remote server by ssh using ksh [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

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 question

I 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜