Results 1 to 2 of 2
Pls i need someodys help!!!
i am trying to a write a script using a the /bin/bash script
All that i am trying to do is to log onto a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 08-12-2005 #1Just Joined!
- Join Date
- Aug 2005
- Posts
- 3
FTP Scripting
Pls i need someodys help!!!
i am trying to a write a script using a the /bin/bash script
All that i am trying to do is to log onto a remote server ( IP 10.0.0.59)
and then logon with a username and a password.
all this must be done in the script, any help with be GREAT!!
Gul
- 08-15-2005 #2
if you want to use ssh, then something like:
will open an ssh connection to the computer "host" using the username "user"Code:#!/bin/bash ssh user@host
This will however need you to supply the password. You could look into SSH key authentication if you didn't want to be asked for a password every time."I am not an alcoholic, alcoholics go to meetings"
Registered Linux user = #372327


Reply With Quote
