Score:0

Google Cloud VM startup-script to change ssh port

es flag

After changing port i'm unable to login SSH

Extremely large packet length from remote suggests data stream corruption

firewall already open for that port Now i wanted to try revert ssh port to 22

Can I do it with google startup-script and if yes, what command i need for that ?

Thanks

John Hanley avatar
cn flag
Your question lacks details on how you changed the OpenSSH server's port. Normally this port number is configured in **/etc/ssh/ssh_config** One method is to connect via the VM's serial console, login and then reverse the change you made. **Edit** your question with details. https://cloud.google.com/compute/docs/troubleshooting/troubleshooting-using-serial-console
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.