I’m really really new to python and ssh.
I’m trying to write a simple program to open ssh connection using python.
I already have paramiko, but the problem I’m having is this:
Using terminal I use the following command to open my ssh:
ssh username%hostname@gw.cs.huji.ac.il
Now I don’t know what arguments to send to – ssh.connect()
Any ideas?
In paramiko documentation there is the following example:
You can also specify the username and password when calling
connect(). Here you have the method’s signature: