Re: Is it possible to pass the password in the ssh/scp command line?
From: Matthias Posseldt (matthi_at_gmx.li)
Date: 02/25/05
- Next message: Jacob Nevins: "Re: "automatic" port forwarding"
- Previous message: Chuck: "Re: question"
- In reply to: Frank Callone: "Is it possible to pass the password in the ssh/scp command line?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 25 Feb 2005 20:21:19 +0100
Frank Callone wrote:
> 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
You can use public key authentication. Have a look into the documentation
for the configuration.
Regards,
Matthias
- Next message: Jacob Nevins: "Re: "automatic" port forwarding"
- Previous message: Chuck: "Re: question"
- In reply to: Frank Callone: "Is it possible to pass the password in the ssh/scp command line?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|