Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Transferring file to local machine when SSHing into a foreign box

0 views
Skip to first unread message

Dotan Cohen

unread,
Apr 30, 2012, 9:55:00 AM4/30/12
to
One can log into a remote shell via SSH, and one can use an FTP
application to log in via SFTP using the same credentials over SSH.
Why then, can one not initiate a file transfer from the remote host to
the local host when logged into a shell via SSH?

I know that I could use scp or rsync to move the files, but the
requires authenticating which is not something that I can always do
from the host. From my limited understanding the existing SSH
connection is all that should be needed, as SSH has file transfer
capability.

Apparently quite a few people are interested in this feature, here is
one example from many that can be found of people requesting this
functionality:
http://stackoverflow.com/questions/440524/ssh-a-way-to-transfer-files-without-opening-a-separate-sftp-session

Would it be appropriate for me to file a feature request on the
OpenSSH bugzilla, considering that I am not able to write the code to
implement the feature?

Thanks.

--
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com
_______________________________________________
openssh-unix-dev mailing list
openssh-...@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev

Dag-Erling Smørgrav

unread,
Apr 30, 2012, 11:39:52 AM4/30/12
to
Dotan Cohen <dotan...@gmail.com> writes:
> One can log into a remote shell via SSH, and one can use an FTP
> application to log in via SFTP using the same credentials over SSH.
> Why then, can one not initiate a file transfer from the remote host to
> the local host when logged into a shell via SSH?

man ssh_config, search for ControlMaster.

DES
--
Dag-Erling Smørgrav - d...@des.no

0 new messages