add ports on ubuntu vps


SUBMITTED BY: Guest

DATE: May 12, 2014, 5 p.m.

FORMAT: Text only

SIZE: 372 Bytes

HITS: 4466

  1. 1. install nano
  2. # apt-get install nano
  3. 2. edit file /etc/ssh/sshd_config
  4. # nano /etc/ssh/sshd_config
  5. 3. now you can add port, example port 80
  6. you search "# What's Port, Ip, blablabla" you add port below that
  7. # What's port, Ip, ......
  8. Port 22
  9. Port 80
  10. 4. now pres : CTRL+o , Ctrl+x
  11. 5. restat ssh
  12. # service ssh restart

comments powered by Disqus