Is it possible to pass the password in the ssh/scp command line?
From: Frank Callone (inn200_at_hotmail.com)
Date: 02/21/05
- Next message: Gerald Vogt: "Re: Avast or Zone Alarm using proxy server?"
- Previous message: Roger Wilco: "Re: Avast or Zone Alarm using proxy server?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 21 Feb 2005 20:21:45 +0100
Assume I am working on my own computer. No one else has access to it (at least for the current session).
Now I want to use ssh. Is it possible to enter the password at the command line?
e.g.
ssh user@remotehost -p <mypassword>
Or is there any other trick which prevents me from being prompted for the password?
E.g.
ssh user@remotehost -getpasswd < fromfile.txt
or by using some certificate e.g.
ssh user@remotehost -usecertinsteadpasswd /var/user/mycert.pkcs
Frank
- Next message: Gerald Vogt: "Re: Avast or Zone Alarm using proxy server?"
- Previous message: Roger Wilco: "Re: Avast or Zone Alarm using proxy server?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|