Tag Info

Hot answers tagged

11

The SSH/SFTP protocol does not have any mechanism to provide the host to the server. The FTP protocol does have HOST command, which is an equivalent to HTTP Host header. It is specified by a relatively new RFC 7151. As such, it is not universally supported. On a server-side, it's supported by IIS and ProFTPD. It's not supported by Pure-FTPd or vsftpd. ...


2

try adding this: `ssh-agent -s` ssh-add ~/.ssh/id_rsa in this way the ssh-agent does not start a new shell, it just launches itself in the background and spits out the shell commands to set the appropriate environment variables. As said in the comment, maybe you do not want to run the agent at all on the remote host, but rather on the box you are working ...



Only top voted, non community-wiki answers of a minimum length are eligible