We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On Client Side: linux
cat >> ~/.ssh/config << 'EOF' Host * TCPKeepAlive yes ServerAliveInterval 60 ServerAliveCountMax 3 EOF
windows
$configContent = @" Host * TCPKeepAlive yes ServerAliveInterval 60 ServerAliveCountMax 3 "@ Add-Content -Path "$env:USERPROFILE\.ssh\config" -Value $configContent
Or on Server Side:
sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.bak sudo sed -i \ -e '/^#TCPKeepAlive/c\TCPKeepAlive yes' \ -e '/^#ClientAliveInterval/c\ClientAliveInterval 60' \ -e '/^#ClientAliveCountMax/c\ClientAliveCountMax 3' \ /etc/ssh/sshd_config
The text was updated successfully, but these errors were encountered:
Unable to negotiate with 192.168.137.222 port 22: no matching host key type found. Their offer: ssh-rsa
Solution:
ssh -oHostKeyAlgorithms=+ssh-rsa [email protected]
Sorry, something went wrong.
No branches or pull requests
keep alive
On Client Side:
linux
windows
Or on Server Side:
The text was updated successfully, but these errors were encountered: