My SSH is running but still unable to connect, throwing an "Unknown Error"
@allnightgrinder3511
2 ай бұрын
you helped me so much. i was stuck watching many videos and then i found yours. THANK YOU!
@RabiGurungXybernetics
2 ай бұрын
Glad I could help!
@fewselage
Жыл бұрын
😃 THANK YOU RABI!!!!!!! I wish I would have seen your video before spending HOURS of frustration.
@RabiGurungXybernetics
Жыл бұрын
Thanks for leaving a comment. I hope we got you a bit further.
@aykutyuzucu5875
5 ай бұрын
I can't still connect after all i done. My server is hetzner. Is there any solution?
@faruk8247
Жыл бұрын
I'm creating a hetzner new cloud server. I can't log in with the information sent to my e-mail address. How can I solve this problem? I can't understand the problem.
@mohamedghida9540
Жыл бұрын
thank you , it was a great help of you, now i can connect to my RPI4 with pace of mind
@RabiGurungXybernetics
Жыл бұрын
Glad it helped
@Salah-YT
Жыл бұрын
ur amazing bro thank u so much I fix it because of ur video thx
@RabiGurungXybernetics
Жыл бұрын
Glad I could help
@leeannaadams4137
Жыл бұрын
SSH is installed but after I type sudo service ssh status it says disabled… how do I enable it ?
@RabiGurungXybernetics
Жыл бұрын
Looks like the SSH service is not starting when you reboot the Ubuntu. To set it up so that it starts when you reboot the Ubuntu or Linux machine, run this BASH command in the terminal window. sudo systemctl enable ssh To manually start it use this command. sudo systemctl start ssh
@anishpunnen3643
Ай бұрын
Thank you so much for explaining it well
@RabiGurungXybernetics
Ай бұрын
Glad it was helpful!
@SigsSubo
8 күн бұрын
What a legend! Thankyou!
@danielgx83
3 ай бұрын
again i find another video showing connection refues on the windows side , instead the real issue is ssh into windows from a linux for example , it just wont work even if you reinstall the modules form powershell
@nelsonortega3019
5 ай бұрын
Thank you! In my case only when starting the ssh service hahaha 🤦😂
@RabiGurungXybernetics
5 ай бұрын
You're welcome!
@LinkmanVN
Жыл бұрын
I got this problem on my orange pi. But how to access the system to repair without connection?
@RabiGurungXybernetics
Жыл бұрын
If the Orange Pi is physically accessible, connect a HDMI monitor to the Orange Pi, and install the OpenSSH server. If it is an Android based Orange Pi, you can use xRDP if you know the IP address. I hope it helps.
@qiluua8228
Жыл бұрын
Bro, I have installed openssh server and the status is active but i still get this error connection refused !!
@RabiGurungXybernetics
Жыл бұрын
Do you have a VPN running/setup on your client machine?
@rowdybruh4003
Жыл бұрын
Should I turn my vpn off?
@qiluua8228
Жыл бұрын
@@rowdybruh4003 turn off proxy and firewall
@Priyakumari-eq6qg
3 ай бұрын
When power off the VM ware then also found same problem again in cmd
@namhtrg2045
8 ай бұрын
Hello sir, what if my ubuntu server has installed the openssh, but it still refuse my connect when I try to connect to the server by another ubuntu device (in VM too), how to solve this problem? Tysm
@RabiGurungXybernetics
8 ай бұрын
If your VM is sharing the same IP address as your base computer and both VM and base computer is using port number 22, then you will get into a pickle. There are essentially 2 ways to solve this problem. 1) Make your VM NIC card as NAT, and that way your VM will receive a different IP address from base computer. 2) Change your base computer SSH port number to say 123 in /etc/ssh/sshd_config using a text editor. After that restart the SSH service using the "service ssh restart" command or simply power cycle your base computer. I hope that helps, if not drop me another comment.
@namhtrg2045
8 ай бұрын
@@RabiGurungXybernetics tysmmmm, its worked, the first solution
@RabiGurungXybernetics
7 ай бұрын
Awesome!
@harjeetmatharu256
Жыл бұрын
I tried the same and it still shows - "connection refused".
@RabiGurungXybernetics
Жыл бұрын
If you're using Microsoft Windows, check your Windows Firewall. It is not recommended, but just as a test, disable all your firewalls for a moment, and then try connecting the SSH again.
@servercluster
Жыл бұрын
When I enter the password it say "permission denied and try again" can u help me with that😭
@SCLEDONFF
5 ай бұрын
do in root
@FIREHEX931
5 ай бұрын
Wrong passwd cause it can ask you for your root pass and the normall ubuntu/kali user pass
@cameronyoung4148
Жыл бұрын
Well explained, thank you!
@RabiGurungXybernetics
Жыл бұрын
Thanks for leaving a comment.
@idriss_IT
4 ай бұрын
Thanks man! I appreciate it
@RabiGurungXybernetics
4 ай бұрын
Glad I could help!
@sheivongamboa
Жыл бұрын
very well great job.... keep up the good works
@RabiGurungXybernetics
Жыл бұрын
Thank you for your uplifting comment on my KZitem channel. Your words put a smile on my face and brightened my day. I truly appreciate your continued support. Wishing you all the best!
@aphevee
Жыл бұрын
How would i go about this for a centos server my centos server randomly stopped working for port 22 and it wont let me login but it says the status is online
@RabiGurungXybernetics
Жыл бұрын
For Centos, use these commands. Let me know if that works for you. Install OpenSSH server sudo yum install openssh-server Start the SSH service sudo systemctl start sshd Restart the SSH service sudo systemctl restart sshd Check the firewall status sudo firewall-cmd --state
@SebastianMichaelis14325
Жыл бұрын
Finally, Thank You :) :)
@RabiGurungXybernetics
Жыл бұрын
You're welcome!
@syr3472
Жыл бұрын
now why can't it work when I do Linux to windows
@RabiGurungXybernetics
Жыл бұрын
Can you run this command one more time in your Linux session (BASH environment). sudo apt install openssh-server This installs OpenSSH Server package in your Linux machine. Also make sure there is no error when you run this command. Also to make sure that the SSH Server (in the Linux machine) is indeed running, run this command. It should show a message in greed "active (running)". systemctl status ssh If that checks out, but still not able to establish SSH connection, make sure that the firewall is not running in your Linux machine. Using this command. ufw status It should output "Status: inactive" to indicate firewall in the Linux machine is disabled. Also make sure that your Windows firewall is turned off for this test. Either one of these debugging method should fix the problem.
@gourikanisha801
Жыл бұрын
Sir network connection timed out error in mobaxterm.plz tell me how to solve fix this problem
@RabiGurungXybernetics
Жыл бұрын
There could be an array of things that might be blocking your access. 1) Is the SSH server installed in your remote machine? 2) What SSH server are you using? 3) From your client machine are you able to do ping to the remote machine? 4) Is there firewall setup in the remote machine? Try these commands if you are using Linux system. Works in Debain too. a) Show all app with firewall access ufw app list b) Allow SSH access. sudo ufw allow ssh You can also allow via port number is it is a customized port number. sudo ufw allow 22 NOTE that ufw is not always available in most Linux system. To install ufw, use this command. Update system files first... sudo apt-get update && sudo apt-get upgrade Then install UFW package. sudo apt-get install ufw I hope that gets you in the right direction in debugging your issue. If not, drop us a message again. Cheeers!
@RabiGurungXybernetics
Жыл бұрын
How did you fair on these questions?
@sergoMD
10 ай бұрын
you are the best !!!! tanks !
@RabiGurungXybernetics
10 ай бұрын
You're welcome!
@Zakaria-nz5rc
2 ай бұрын
thank you
@RabiGurungXybernetics
2 ай бұрын
You are welcome.
@faruk8247
Жыл бұрын
I watched many explanations about the hetzner 22 port solution, but none of them was a solution, putty does not login, only Bitvise SSH Client logs in, not with the root password sent to your e-mail address, you can log in when you create a root password from the hetzner panel, I solved the solution in this way
@RabiGurungXybernetics
Жыл бұрын
Thanks leaving your alternate solution to resolving the issue. Much appreciate your comments 🙏
@Cagitay
11 ай бұрын
başkan tam olarak nasıl çözdün anlatabilir misin? ben de hetznerden aldım server'ı port 22 connectio time out sorunu yaşıyorum
@xavierrodriguezgarcia928
Жыл бұрын
good job bro, lots of thanks
@RabiGurungXybernetics
Жыл бұрын
Thanks for your kind comments.
@FarizAzim
Жыл бұрын
Thank you brother
@RabiGurungXybernetics
Жыл бұрын
Thank you so much for your comment! I'm glad my video was helpful to you in resolving the SSH connection refused error on port 22. If you have any other questions or topics you'd like me to cover, feel free to let me know. Thanks again for watching!
@anupsingh2615
9 ай бұрын
Sshd is not running
@anupsingh2615
9 ай бұрын
What's the solution
@RabiGurungXybernetics
9 ай бұрын
What error message I getting?
@anupsingh2615
9 ай бұрын
When I run status command to check sshd status it keep showing sshd is not running And unrecognized Sshd re-exec path
@anupsingh2615
9 ай бұрын
To check ssh status then keep showing all these sshd errors
@RabiGurungXybernetics
9 ай бұрын
There are couple of thing you can do and check. 1) Try restarting SSH Service with this command. sudo service ssh restart If you're using a system with systemd (daemon), you can use this command sudo systemctl restart ssh 2) Check log file The SSH log file is located here. Open using any text editor. Alternatively you can use cat, more or less BASH command. I am using Nano as text editor here in the command below. sudo nano /var/log/auth.log 3) Check SSH configuration Using a textt editor check your SSH configuration file. I am using nano as a text editor in the command below. vi and vim will work as well. Check paths in particular. sudo nano /etc/ssh/sshd_config 4) Make sure the permission to SSH configuration file correct. I normally have my ssh configuration file as follows. sudo chmod 600 /etc/ssh/sshd_config sudo chmod 700 /var/run/sshd **** WORST CASE SENARIO **** Worst case scenario, reinstall SSH. Make sure that you have console access when doing this. sudo apt-get remove openssh-server sudo apt-get install openssh-server I hope that helps. Good luck!
@danielajoycortez7591
6 ай бұрын
how to know my user@ip's password?
@akramraja9010
Жыл бұрын
Where u typing this command
@RabiGurungXybernetics
Жыл бұрын
The black screen with large fonts are in Command Prompt, and and black screen with smaller fonts are in VMWare Player console session. I hope that answers your question.
@akramraja9010
Жыл бұрын
@@RabiGurungXybernetics i buyed vps at 14$ now it not connecting
@RabiGurungXybernetics
Жыл бұрын
Sorry I did not understand your question. Do you have a bit more detail?
@xd4rkyy10
6 ай бұрын
thanks rabi!
@RabiGurungXybernetics
6 ай бұрын
You are welcome.
@linhdang6713
Жыл бұрын
thanks mate!
@RabiGurungXybernetics
Жыл бұрын
You're welcome!
@rhayansilva
Жыл бұрын
Very very tanks
@RabiGurungXybernetics
Жыл бұрын
You are welcome!
@Ldenlord
Жыл бұрын
what's the password?????
@RabiGurungXybernetics
Жыл бұрын
Not too sure what password you are referring to. But if you are talking about the SSH password, that will be what you had configured when you initially create your Linux box or VPS.
@Payer_01-Technofan
Жыл бұрын
useless if you doesn't install it doesn't work
@RabiGurungXybernetics
Жыл бұрын
If you are referring to installing Open SSH server, unfortunately, you do need to install an SSH server to sole capacity to get the SSH service, so that the SSH client can connect to the remote Linux machine.
@cloudy2063
2 ай бұрын
thx you
@shawnschaworski2132
9 ай бұрын
how am i supposed to type commands if i cant access ssh lol
@RabiGurungXybernetics
9 ай бұрын
When you try to access the ssh, what error do you get in your command prompt?
@memoabbas9055
Жыл бұрын
did'nt work
@RabiGurungXybernetics
Жыл бұрын
What error message are you getting?
@paragchaudhari4370
Жыл бұрын
Make it full screen bc
@RabiGurungXybernetics
Жыл бұрын
Thank you for your constructive feedback. Will take note of it and apply that in my next video. Thanks for leaving comment on my channel.
Пікірлер: 89