Transferring file to local machine when SSHing into a foreign box

Peter Stuge peter at stuge.se
Tue May 15 00:43:03 EST 2012


John Olsson M wrote:
> If it is possible to access /etc/passwd from an SSH built-in
> feature to escape from the "shell" to be able to get file access
> of the nodes filesystem to transfer files in and out it is a huge
> difference.

Indeed. I think the sane way to implement this may be in sftp-server.
The problem is of course the marker IPC from the user's shell over to
the not-yet-running sftp-server. :)


> I would definitely prefer it the other way around; Opt-In instead
> of Opt-out. That is you must explicitly ask for the feature to
> enable it; default it should be turned off.

Yes absolutely.


//Peter


More information about the openssh-unix-dev mailing list