By 973146614
I can ssh to my vps at home,but it did not work when I wanted to connect it through my lab computer.when I ssh by xshell it showed : Socket error Event: 32 Error: 10053. Connection closing…Socket close. Connection closed by foreign host.
also by using shadowsock as a vpn,I could connect to the service when used the computer at home or phone in wifi condition.but fail to connect on my lab computer or phone in 4G network
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
It is possible that when you created your Droplet, you had an SSH key saved into your DO account (https://cloud.digitalocean.com/account/security).
These SSH keys are usually device specific, meaning that while the public key (~/.ssh/id_rsa.pub) is stored on your DO account, the private key is only on your computer at home. I assume the ‘lab’ computer is a class (shared) computer, which means you could put your private key on it (~/.ssh/id_rsa). Although you should probably give some thought to how secure the shared computer is first, as that key could provide direct access to your VPS.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.