Hi
i've to connect to some servers through SSH daily, and every server has his IP and user and pass,and this is how i connect to SSH {xxx=ip}
open Terminal :
# ssh root@xxx.xx.xxx.xxx
# root@xxx.xx.xxx.xxx's password: { then i've to write the password here}
what i wanna ask about is how to make the script write the password ? i know its n00b question but i'm new to this and the whole Mac 😀
here's my "too Long" script 😛
thanks
i've to connect to some servers through SSH daily, and every server has his IP and user and pass,and this is how i connect to SSH {xxx=ip}
open Terminal :
# ssh root@xxx.xx.xxx.xxx
# root@xxx.xx.xxx.xxx's password: { then i've to write the password here}
what i wanna ask about is how to make the script write the password ? i know its n00b question but i'm new to this and the whole Mac 😀
here's my "too Long" script 😛
PHP:
tell application "Terminal"
do script "ssh root@xxx.xx.xxx.xxx"
end tell
thanks