Re: Transferring files over SSH in the console

I can have as many open connections as I want, it's on the LAN. But I
would _prefer_ just one terminal window for both commands (SSH) and
file transfers.

First of all, I believe the ssh protocol (not necessarily the ssh
program) already support exactly what you want: logging in and, if you
want, sending files through the already opened tunnel.

Exactly! The protocol obviously supports this as both sftp and the
shell are over the same ssh protocol. That is why I thought that this
ability might exist.

PuTTY does exactly that. If you are logged in, you can press a button to
open a (local) file browser for the remote files. Without new password
entering. So I guess it uses the same tunnel.

I see, then it is already in the right pwd. I'd still prefer to keep
it all in one window but I will play with Putty. Thanks.

So here's your first solution: use putty. It exists for Linux also.

Second solution: if the ssh protocol supports what you want but the ssh
program does not, then complain to whoever maintains ssh (program) to
include that option. For example, a hotkey to switch it into sftp mode
in the already open connection.

That would be more of a feature request than a complaint. I suppose
that OpenSSH might be the project to file the feature request to. I'll
get on that.

More solutions (sshfs, or just giving up and typing several commands)
have already been posted here.

Many workarounds, but the solution seems to be to file a feature
request with OpenSSH. Thanks.

Dotan Cohen

To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx

Relevant Pages

  • SSH Protocol Trick
    ... SSH Protocol Weakness Advisory ... software /configuration files, for SSH protocol version 1, or 2. ... Servers in compatability mode have both protocols 1 and 2 enabled. ... that strict host key checking is always on! ...
  • Re: background processes?
    ... SSH waits for eof on stdin because it doesn't know whether ... has *nothing at all to do* with the SSH protocol. ... all cases what the "right" time is to end the connection. ... requirement that this script not block because of a failure of the SSH ...
  • Re: cannot ssh login with expired password
    ... The fault lies in the current definition of the SSH protocol. ... SSH2 had these features, and that is why most client s/w first tried ... So your statement "The fault lies in the current definition of the SSH ...
  • Re: ssh1 and ssh2 performance
    ... JS> it is more secure. ... SSH protocol version 1 is deprecated in favor of the current draft version ... Protocol 2 can be noticeably slower on connect due to the more complex key ...
  • Re: Establishing a SSH Connection
    ... >LinuxApplication. ... I think the best way is to use a SSH connection and ... Where can i get informations about the SSH protocol? ...