Hello,
I want to change the SSH port and the FTP port. How can i do it ?
Thanks
Hello,
I want to change the SSH port and the FTP port. How can i do it ?
Thanks
logged in as root type
nano /etc/ssh/sshd_config
Thats your SSHD config file. On that there will be line called
Port 22
We need to change that. You can change the number 22 to whatever port that you like. after you done hit Ctrl+O key on keyboard to write the chnages in to the file and then Ctrl+X to exit the text editor.
If you dont have nano editer installed you can get it from main debian mirror or use winscp and go via the file path /etc/ssh and sshd_config is what you edit !
after that try
On debian or Ubuntu run
restart ssh ¬ now you must login again with different port specified by yourself !
Edit i followed this instruction in debian with no problem !
Thanks a lot!! It's working now!!
Don’t have an account yet? Register yourself now and be a part of our community!