Re: Python and ssh for remote login

2016-10-06 Thread Noah
On 6 Oct 2016 04:56, "Michael Torrie" wrote: > > On 10/05/2016 11:46 AM, Noah wrote: > > Hello folk, > > > > I would like to use a python script to ssh into a server using a username > > and password and perhaps ass port. > > > > Any ideas on how to script that. > > If paramiko doesn't fit your ne

Re: Python and ssh for remote login

2016-10-05 Thread Michael Torrie
On 10/05/2016 11:46 AM, Noah wrote: > Hello folk, > > I would like to use a python script to ssh into a server using a username > and password and perhaps ass port. > > Any ideas on how to script that. If paramiko doesn't fit your needs, traditionally this sort of work was done with the pexpect

Re: Python and ssh for remote login

2016-10-05 Thread Noah
On 5 Oct 2016 22:02, "Ethan Furman" wrote: > > On 10/05/2016 10:46 AM, Noah wrote: > >> I would like to use a python script to ssh into a server using a username >> and password [...] > > > I've written a module called scription to help with scripts; it supports giving passwords to programs like s

Re: Python and ssh for remote login

2016-10-05 Thread Ethan Furman
On 10/05/2016 10:46 AM, Noah wrote: I would like to use a python script to ssh into a server using a username and password [...] I've written a module called scription to help with scripts; it supports giving passwords to programs like ssh. Here's an example from one of my utility scripts:

Re: Python and ssh for remote login

2016-10-05 Thread Noah
Hi Rob Thank you for your email. I am guessing that is some module. Ok i will pip it and see how it goes. Noah On 5 Oct 2016 21:32, "Rob Gaddi" wrote: > Noah wrote: > > > Hello folk, > > > > I would like to use a python script to ssh into a server using a username > > and password and perhaps

Re: Python and ssh for remote login

2016-10-05 Thread Rob Gaddi
Noah wrote: > Hello folk, > > I would like to use a python script to ssh into a server using a username > and password and perhaps ass port. > > Any ideas on how to script that. > > Thanks > > Noah paramiko -- Rob Gaddi, Highland Technology -- www.highlandtechnology.com Email address domain is

Python and ssh for remote login

2016-10-05 Thread Noah
Hello folk, I would like to use a python script to ssh into a server using a username and password and perhaps ass port. Any ideas on how to script that. Thanks Noah -- https://mail.python.org/mailman/listinfo/python-list