Monday, July 16, 2018

#1 2002-02-27 06:09:11 am

Trash Man
Sanitation Department
Registered: 2005-10-20
Posts: 5336

scripting an ssh-login

hi everybody
to connect my powerbook to the network of my university i have to login via ssh. so far i've always done this manually but it's so annoying... so i thought of writing a little applescript to do this for me.
unfortunately i don't know applescript very well so while i've made the terminal send the login command (i.e. ssh -l mylogin myserver) i haven't found a way to send the password afterwards (so, after sending the above command the terminal returns "mylogin@myserver's password:" how can i make applescript enter my password there?
greetings from switzerland daniel

One mans trash is another mans treasure



Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)