Hi,
I want to make an .sh script to open a terminal and connect me to my remote host using SSH, but without asking me for password. How can do I type the command to put the password automatically ?
Wich is the parameter that states the password ?
I currently use in terminal :
Code:
ssh me@myhost.com -p 1888
Code:
usage: ssh [-1246AaCfgKkMNnqsTtVvXxYy] [-b bind_address] [-c cipher_spec]
[-D [bind_address:]port] [-e escape_char] [-F configfile]
[-I pkcs11] [-i identity_file]
[-L [bind_address:]port:host:hostport]
[-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
[-R [bind_address:]port:host:hostport] [-S ctl_path]
[-W host:port] [-w local_tun[:remote_tun]]
[user@]hostname [command]
Bookmarks