how do I change the port number from 22 to 222?

15 views
Skip to first unread message

Karen Goh

unread,
Feb 23, 2019, 11:57:18 PM2/23/19
to Vagrant
Hi,

I have problem in getting the right syntax to change the port from 22 to 222.

All I know is I have to use this command from this stackoverflow :


sudo nano /etc/ssh/ssh_config

but I am not sure how to change the port from 22 to 222.

I am using ubuntu 64 trusty and running of windows 10.


Brian Cain

unread,
Feb 26, 2019, 11:40:04 AM2/26/19
to vagra...@googlegroups.com
Hey there,

What are you trying to change the port on, and why are you trying to change the port?

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/b9751040-2a59-4c75-be55-e93f87fa5e1d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
Brian Cain
Reply all
Reply to author
Forward
0 new messages