Re: entering the password in automated script for ssh
Date: Tue, 12 Aug 2003 09:37:02 +0200
> I have written a script which is scheduled using cron, to fetch some
> data/files from another system.
> The connection is secured using ssh. However I would like this
> automated, and would like to know how I can
> 1) Open a shell prompt in a script
> 2) then invoke the script to connnect to the server using ssh
> 3) enter the password (manualy or automated)
> 4) copy the files
Use scp + authentication keys.
- Re: question regarding how to launch perl script on remote machine
... mind that he had mentioned a script that would iniate the SSH connection ... which could then be passed over the connection. ... information on the "SERVERK" computer before initiating the SSH ...
- Re: pppd pty equivilent in FBSD
... I let pppd manage retries & setting routes. ... >I wouldn't personally recommend vpn over ssh for anyone either, ... I'm the sole bsd user at my company, and the ppp over ssh ... >Actual bash script I call: ...
- Re: background processes?
... SSH waits for eof on stdin because it doesn't know whether ... has *nothing at all to do* with the SSH protocol. ... all cases what the "right" time is to end the connection. ... requirement that this script not block because of a failure of the SSH ...
- Re: [kde-linux] Sessions names
... ssh 192.168.2.80??? ... You can write a wrapper script that would start ssh to some ip and rename the ... konsole session dynamically. ... dcop call to konsole you need to know the pid of konsole. ...
- Re: Hacker activity?
... >login to a server, most as root but some are attempts to login to ... >telnet, all come from the same remote server, and all fail. ... >getting some odd cgi calls to a script on a secure ssl server. ... Make sure root cannot login to your system via ssh. ...