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
sudo useradd -m proxy
id_rsa
id_rsa.pub
ssh-keygen
authorized_keys
sudo mkdir /home/proxy/.ssh sudo cp id_rsa.pub /home/proxy/.ssh/authorized_keys sudo chown -R proxy.proxy /home/proxy/.ssh
sudo vi /etc/passwd
Add /bin/false to proxy line:
/bin/false
proxy:x:1002:1002::/home/proxy:/bin/false
host proxy HostName server_ip User proxy IdentityFile ~/.ssh/proxy/id_rsa
ssh proxy
and it will return Connection to server_ip closed.
Connection to server_ip closed.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Server side
id_rsa
key, will createid_rsa
andid_rsa.pub
files:authorized_keys
:Add
/bin/false
to proxy line:Client side
host proxy HostName server_ip User proxy IdentityFile ~/.ssh/proxy/id_rsa
and it will return
Connection to server_ip closed.
The text was updated successfully, but these errors were encountered: