Tag: <span>ssh</span>

Tag: ssh

Pass Custom Private Key in SFTP Using SSH Options

To pass custom private key (custom identity file, rather than the default one from .ssh directory) when connection via sftp, use the following command:   The “-v” option will print out verbose debugging information, “-o” allows us to pass ssh options, in this case we pass “IdentityFile” with value “/path/to/custom/.ssh/id_rsa”.

SSH Client Timeout

SSH allows administrators to set a timeout to log users out automatically after a certain period of idle time. Find ClientAliveInterval and set to 300 (5 minutes) as follows: ClientAliveInterval sets a timeout interval in seconds after which if no data has been received from the client, secshd will send …

My new Snowflake Blog is now live. I will not be updating this blog anymore but will continue with new contents in the Snowflake world!