two scp and ssh processes with single authentication

Posted by Tomek Wyderka on Stack Overflow See other posts from Stack Overflow or by Tomek Wyderka
Published on 2012-11-09T16:17:30Z Indexed on 2012/11/09 23:00 UTC
Read the original article Hit count: 126

Filed under:
|
|

I need to scp and then ssh to the same host. Is it possible to authenticate just one time? Is it possible to input password once, then scp file, then ssh on that host and work interactively?

Update

I get HOSTNAME and SSH_PASSWORD. I never log in on that machine before. I need to send some files (probably using scp) and then log in using ssh and work on that HOST interactively. I want to save time and input password just once. I have lots of such hosts...

© Stack Overflow or respective owner

Related posts about shell

Related posts about ssh