From: christian l. <chr...@ti...> - 2003-01-23 17:53:56
|
> Another question (I know that this is bad style, but I'd like to do it > anyway): can I hand ssh the password as a variable? How? i'm nearly sure there is a way you could (you might want to change a few lines in the login function, around line 219ff in pyssh.py), but: ==> that's not the way i would pursue! the good way, imho, would be to establish a trusted user (exchange of key/certificate) in order to get away with no login prompt at all (yes, ssh is very usable). > Another question (it never stops ... ;0): How do I do scp - I think > sourceforge sells pyssh als ssh AND scp wrapper? sorry, i don't know - never used it. > ># ymmv ;-) > ? 'your mileage may vary' ;-) anyway - hope it helps! -- email chr...@ti... |