EXTRA NOTES (Login w/o pass & changing port) ssh -p 777 username@hostname replace 777 with the port number that you want to use that isn't the default port 22. Generate a key > ssh-keygen -t rsa -b 2048 Copy that key > ssh-copy-id username@hostname SSH to the sys > ssh username@hostname Note - You will be prompted to enter a file to save the key. By default, it will be saved in ~/.ssh/id_rsa for the private key and ~/.ssh/id_rsa.pub for the public key. You'll be asked to enter an optional passphrase. This provides an extra layer of security. If you choose to use a passphrase, make sure to remember it. You can also copy the key once generated manually.
CLEAR! CLEAR! thank you I was confused as SSG Client asked for username and password. And I was like what password? Do have to configure it first. Thank you you made it clear.
These features are usually dependent on the type of windows you install before.. if it's windows 10 home, you'll need to set up a lot from these optional features !
Download a 25 page Linux Checklist here - learn.savvynik.com Tutorial for installing the SSH Server - ua-cam.com/video/HCmEB5qtkSY/v-deo.html Need help transferring files over SSH? - ua-cam.com/video/2u0I-U0D7Uk/v-deo.html
You are so good at helping people and people like you are amazing to this world. For me i have a somewhat different question. Every time i play counter strike 2 i get this "timed out by remote host" and when i diagnose my adaptor it says i have more than one connection to this computer. Is there anything that you would recommend me doing that would be a somewhat easy / beginner fix for this? Thank you so much in advance.
Ahh thanks. Love to hear nice comments like this. Some things I can think of checking assuming you're not using any kind of VPN Check for multiple network connections. In your adapter settings - If your computer has multiple network connections (e.g., both Wi-Fi and Ethernet), try disabling one of them to see if it resolves the issue. Update your network drivers. Outdated or corrupted network drivers can cause connectivity problems. Go to the manufacturer's website for your network adapter and download the latest drivers. Check for background high bandwidth programs. Make sure there are no programs running in the background that might interfere with your network connection. This includes torrents, streaming services, or any other high-bandwidth activities. Check firewall and antivirus settings. Make sure that your firewall or antivirus software is not limiting or blocking the game's connection. Add the game to the exceptions.
@@SavvyNik thank you my friend I’m working on the last one as I’ve tried the others I appreciate your time and being an excellent human being that you are 🙏
No it's not any more secure. The protocol itself takes care of the security/encryption between connections. Where you use ssh from doesn't matter so long as the shell you're using isn't compromised.
The server is meant to allow connections into your computer so if you want to access remote devices via ssh outside your computer you'll need the client not the server.
@@SavvyNik ok thanks savvy :) umm i am getting an error when i try using ssh it says "ssh: connect to host port 22: Connection timed out" the bit is just the ip i put in i just dont want to dox myself
@@jld-ni3vf you'll probably have to open up a port in your firewall in order to access things remotely on a public ssh server. I'd be careful with this.
Question: What is the correct terminfo entry to use on Linux for the Windows command prompt window? Basic things work fine as xterm-256color but things like vi do not work properly. Thanks for any help you can provide.
Hello, Very good video! i was asked in an interview to name a command that can be used to see when a log file was last edited? it it the tail command please?
Thanks I'm glad you enjoyed it. Make sure to smash that like button for me if you haven't already. I assume this is for a Linux operating system? If so there's the ls (list) command. This allows you to get a list of files within the current working directory. You can pass the -lt flag (ls -lt) to get the last modified time/date of the current files in the directory. There are other ways such as using the stat command / date command but ls is probably the most widely used.
Depends on how the ssh key was configured, sometimes they ask for a paraphrase which becomes your password. To get past it you don’t put anything in for a paraphrase when setting the keys up. Make sure to smash that like button and glad you enjoyed the vid.
It asks for password everytime, Can we add ssh keys again here as we did in video where you made windows as ssh server and linux as client and added ssh keys, I actually read about it on google but fails to use it. Can you please help ? My objective is to ssh over linux from windows using ssh keys so it does not ask for password everytime.
This isn't simple. You'll have to do some research but generally if the computer you are trying to connect to via ssh has an ssh server installed and you have the proper ports forwarded through your firewall (default port 22) then you can use a public ip address to ssh to the computer. This is not recommended because it can create vulnerabilities if you have a port open to the public.
Leslie this was meant to show you how to install SSH client for use on Windows 10 and to be able to use the client through command prompt.. not to solve networking issues.
If you setup an ssh sever (openssh server) on your bootable usb linux drive sure you can ssh between the two, but when you remove or restart you'll loose your ssh server unless your live bootable disk is persistent.
@@SavvyNik my USB is persistent but the user name of my O.S os User because I am using live parrot os but if I enter the name and the i.p adress it is not working
@@SavvyNik yea but I don’t know the user name for the ssh server because all I’ve uses have the same name and the name is user because i am using parrot live usb
Nik how do i access my ubuntu web server by a different ssh port i have set up and i have blocked incoming connections to my ubuntu via port 22, and, while i am asking you about the port, what about if i have also removed password authentication and only allow passphrases, can you answer these 2 questions for me? please
ssh -p 777 username@hostname replace 777 with the port number that you want to use that isn't the default port 22. Generate a key > ssh-keygen -t rsa -b 2048 Copy that key > ssh-copy-id username@hostname SSH to the sys > ssh username@hostname Note - You will be prompted to enter a file to save the key. By default, it will be saved in ~/.ssh/id_rsa for the private key and ~/.ssh/id_rsa.pub for the public key. You'll be asked to enter an optional passphrase. This provides an extra layer of security. If you choose to use a passphrase, make sure to remember it. You can also copy the key once generated manually.
I tried this but it won't ask me for a password, it just goes to next line and waits and then says ssh : connect to *ip address* : connection timed out
@@SavvyNik Hmm, I figured out how to ping my VM, but whenever I use SSH to connect to it, it tells me the connection was refused. Do I need the OpenSSH server software?
@@ahmad.software sort of. I bookmarked a Hong Kong link so going through HK seems to work but majority of the time I use TWS desktop app and that doesn't have any connection issues
As long as your still trying to ssh you can switch ports by doing something like the following: ssh -p 23 @ (the -p means use a different port followed by the specified port for ssh - 23 in this example).
I cant for the life of me find any info on how to change the default port ssh tries to connect to. I changed my linux server port from 22 to a different port to harden security, but I can only ssh from my windows 10 into it by adding a -p *newport#* command to the line. I want to be able to have windows automatically use the port when connecting so I don't have to type -p *port* every time.
ssh can contain a config file. You'll have to find where your system would read the config file from and then place you settings in there (aka a special port #) here's an example but this is geared towards linux - linuxize.com/post/using-the-ssh-config-file/
@@SavvyNik Thanks for the reply! I tried that, I specified in sshd_config in c:/programdata/ssh folder and removed the # from the port line and changed the port but it still tries to connect via port 22. I also tried created a file called "config" on windows 10 like that link demonstrates but the ssh client doesnt even recognize it and still tries to connect via port 22. I was able to change the port# server side on my linux vm by altering the config file but my windows10 client ssh doesnt connect without adding the -p *new-port-here* string.
Durgadatta, great question. No you can use another tool called scp (secure file copy) in order to copy over a file. It goes something like the following: scp /host/computer/path/file /remote/computer/path/file You would have to add the -r switch in order to copy an entire folder. Try looking up the command.
@@durgadattadas5830 Easiest way would be to install scp on the client sever and use scp to copy it over. Otherwise it becomes a pretty big hassle haha!
For a text file, including program code, one way is to list the text on the Windows machine. Open a text editor on the remote Linux machine. Copy and paste the text from the listing to the editor and save.
I'm not following. You can use ssh without putty in the command line interface if you install this client like shown in the video. This helps you get rid of putty and use ssh natively.
It's very interesting 😉 I have a problem, when I try to connect with a device of my home network I type my password and everything is OK, but when I try to connect from outside of my network, although I opened 22 port on my router, when I type my local password it says me wrong password and I can't understand why🤔 can you help me please?
Doesn't make much sense. Logging in with the same pass and user of the account should work. However I would suggest closing port 22 and not allowing connection to your local home network. This is a security risk. You can always exchange keys to get rid of passwords if you can't get the pass working.
Then you can use SCP to transfer between the two. This is probably the easiest way besides physically do it like with a USB. You can also look up a service called Samba server which will allow you to access a file share on your Linux computer from Windows.
You need SSH Server on the computer you are trying to ssh to with port 22 opened up. Then you need a client on the computer you are initiating the connection from. If you can't ping the computer you are trying to connect to that's usually an indication that you don't have a proper setup.
Hey, wondering if you can help me. I installed the openssh on my ubuntu server, and I also installed both SSH client and server on Windows optional features. However, I am unable to connect to the server through CMD, cockpit (web console) and also through my phone SSH app. I tried turning off my VPN and Antivirus (if that makes a difference, but it didn't do anything to help).
Check your firewall both on the router and on any computers that you have. You need to make sure you can ping the SSH server and that all connections are working before connecting via SSH. Also confirm that the daemon (process/service) for SSH is, in fact, running and listening on port 22 on your Ubuntu Server side.
@@SavvyNik thanks for answering, I've found a solution. But I'm not sure yet if it's a good one. To whom this might help : on your linux machine, open the file sshd_config with your favorite editor . For example : sudo nano /etc/ssh/sshd_config and look for these lines: # To disable tunneled clear text passwords, change to no here! #PasswordAuthentication no I just put a # in front of Password Authentication no
@@khayryazzez you need to make sure to have a local account whatever is hosting the ssh server. Otherwise you won't be able to login. You can setup a local account through the user settings/accounts page.
@@SavvyNikI have did it, even i have attempted to connect to my machine by (username@localhost(or my address )) and he always keep asking about the password
EXTRA NOTES (Login w/o pass & changing port)
ssh -p 777 username@hostname replace 777 with the port number that you want to use that isn't the default port 22.
Generate a key > ssh-keygen -t rsa -b 2048
Copy that key > ssh-copy-id username@hostname
SSH to the sys > ssh username@hostname
Note - You will be prompted to enter a file to save the key. By default, it will be saved in ~/.ssh/id_rsa for the private key and ~/.ssh/id_rsa.pub for the public key.
You'll be asked to enter an optional passphrase. This provides an extra layer of security. If you choose to use a passphrase, make sure to remember it.
You can also copy the key once generated manually.
I tried the command in Windows 11, and it worked without having to install anything. Thank you!
No problem
CLEAR! CLEAR! thank you I was confused as SSG Client asked for username and password. And I was like what password? Do have to configure it first. Thank you you made it clear.
Glad you found it helpful! No problem, make sure to smash that like button for me on the video if you haven't already.
@@SavvyNik I smashed the subscribe button with my computer instead. Knowing that I had finally managed to get my SSH working.
@@gepliprl8558 Haha! Awesome to hear =) thanks for subbing.
The clearest tutorial about linux ❤❤
Glad you think so!
Thaks man, useful! I have been using Putty for a year now lol, had no idea I could do it like this.. a lot cleaner!
Glad you figured it out :)
These features are usually dependent on the type of windows you install before.. if it's windows 10 home, you'll need to set up a lot from these optional features !
@Sai Krishna - Great mention. I forgot to say this in the video. Pinned for now ^^
@@SavvyNik where is the option to enable it in windows 8.1 ,i can't find it
@@andreamitchell4758 This is meant for Windows 10. I don't believe the feature is available in win8.
Private/public key is the way to go and should be added :)
yeah
Download a 25 page Linux Checklist here - learn.savvynik.com
Tutorial for installing the SSH Server - ua-cam.com/video/HCmEB5qtkSY/v-deo.html
Need help transferring files over SSH? - ua-cam.com/video/2u0I-U0D7Uk/v-deo.html
Congratulations, clear and simple. Thank you
You're welcome, glad you found the video helpful. Make sure to smash the like button for me if you haven't already!
You are so good at helping people and people like you are amazing to this world. For me i have a somewhat different question. Every time i play counter strike 2 i get this "timed out by remote host" and when i diagnose my adaptor it says i have more than one connection to this computer. Is there anything that you would recommend me doing that would be a somewhat easy / beginner fix for this? Thank you so much in advance.
Ahh thanks. Love to hear nice comments like this. Some things I can think of checking assuming you're not using any kind of VPN
Check for multiple network connections. In your adapter settings - If your computer has multiple network connections (e.g., both Wi-Fi and Ethernet), try disabling one of them to see if it resolves the issue.
Update your network drivers. Outdated or corrupted network drivers can cause connectivity problems. Go to the manufacturer's website for your network adapter and download the latest drivers.
Check for background high bandwidth programs. Make sure there are no programs running in the background that might interfere with your network connection. This includes torrents, streaming services, or any other high-bandwidth activities.
Check firewall and antivirus settings. Make sure that your firewall or antivirus software is not limiting or blocking the game's connection. Add the game to the exceptions.
@@SavvyNik thank you my friend I’m working on the last one as I’ve tried the others I appreciate your time and being an excellent human being that you are 🙏
thank you for the video. Is it more secure to connect via PowerShell ? what do you recommend and which is better from security perspective ?
No it's not any more secure. The protocol itself takes care of the security/encryption between connections. Where you use ssh from doesn't matter so long as the shell you're using isn't compromised.
Great video, quick question if I install the openssh server (it's under the openssh client) on the pc I am trying to connect to will that work?
The server is meant to allow connections into your computer so if you want to access remote devices via ssh outside your computer you'll need the client not the server.
@@SavvyNik ok thanks savvy :) umm i am getting an error when i try using ssh it says "ssh: connect to host port 22: Connection timed out" the bit is just the ip i put in i just dont want to dox myself
@@jld-ni3vf you'll probably have to open up a port in your firewall in order to access things remotely on a public ssh server. I'd be careful with this.
Question: What is the correct terminfo entry to use on Linux for the Windows command prompt window? Basic things work fine as xterm-256color but things like vi do not work properly. Thanks for any help you can provide.
amazing thank you!
You're welcome!
Hey I subscribed also I gave you your 1k like
Thanks!! Glad to have you following =)
Hello, Very good video! i was asked in an interview to name a command that can be used to see when a log file was last edited? it it the tail command please?
Thanks I'm glad you enjoyed it. Make sure to smash that like button for me if you haven't already. I assume this is for a Linux operating system? If so there's the ls (list) command. This allows you to get a list of files within the current working directory. You can pass the -lt flag (ls -lt) to get the last modified time/date of the current files in the directory. There are other ways such as using the stat command / date command but ls is probably the most widely used.
@@SavvyNik Perfect! ill try to learn more on these,, please never stop helping people ever like you so wonderfully do :)
@@reenakhurana4426 Thanks =) means a lot
many thanks....
You're welcome! Glad you like it.
Thanks
Welcome
Thanks :)
You're welcome! Glad you found it helpful. Make sure to smash that like button for me if you haven't already =)
thanks!
No problem!
why all the ssh guide videos think we have 2 PC's at home?
all I want is to connect from work to my home pc, how hard is that?
thanks
You're welcome!
Though i have installed openssh-client, still it is showing "ssh isnot fount in internal or external command"... could you please help me with this?
You're probably missing the environmental variable path to the folder that contains ssh.
@@SavvyNik how you please help me how can I do this?
when trying to ssh connect from windows to ubuntu, I Get this : "Permission denied (publickey)." I already set up an ssh key on my ubuntu VM.
Please look up the error. SSH is working fine you're getting an error because your configuration/key transfer is wrong.
That did nothing for me. I installed the openssh client feature but the command prompt still doesn't recognize the ssh command.
Can we connect to window and Linux servers with commands 🤔🤔🤔
Yes.
I get the error permission denied (publickey). Where do I get the public key from and where does it need to be on the windows machine ?
Hello, good video, a query, if the ssh keys are already configured, why does it ask me for a password? 4:29
Depends on how the ssh key was configured, sometimes they ask for a paraphrase which becomes your password. To get past it you don’t put anything in for a paraphrase when setting the keys up. Make sure to smash that like button and glad you enjoyed the vid.
openSSH client and server do you need both for you tutorial?
Yes, you need a server on the computer you're trying to access and a client on the computer your initiating the connection from.
@@SavvyNik is Telnet also SSH?
No telnet checks / connects to specific ports and can exchange data through a console.
@@SavvyNik In your video it said SSH server below client do I need the SSH server
You need a server on the computer you are connecting to. Client on the computer that you are starting the connection from.
Just Smacked the 1kth like
LET'S GOOOO!!! Thanks :)
it no longer shows up in there. Do you know why?
Hi . The password u have entered is what? The aws account password? Or we have to create it!?
It asks for password everytime, Can we add ssh keys again here as we did in video where you made windows as ssh server and linux as client and added ssh keys, I actually read about it on google but fails to use it. Can you please help ? My objective is to ssh over linux from windows using ssh keys so it does not ask for password everytime.
Did you find a solution?
@@scortexfire no
What if the server is not on my local network? Can you make a non local network server ?windows
how to set ssh connection between 2 windows pc, remotely, not connected in the same local network?
This isn't simple. You'll have to do some research but generally if the computer you are trying to connect to via ssh has an ssh server installed and you have the proper ports forwarded through your firewall (default port 22) then you can use a public ip address to ssh to the computer. This is not recommended because it can create vulnerabilities if you have a port open to the public.
can you also connect with you server if you are on another network? using this method
Yes you can but you’ll need some vpn or Internet port forwarding.
This didn't help me at all. I could SSH out without Open SSH, but I still can't SSH in, snd the firewall is off.
Leslie this was meant to show you how to install SSH client for use on Windows 10 and to be able to use the client through command prompt.. not to solve networking issues.
Re-reading once more I think what you're looking for is an SSH Server not a client. That way you could SSH into your Windows machine.
I am using a live bootable usb drive of Linux, but will it work?
If you setup an ssh sever (openssh server) on your bootable usb linux drive sure you can ssh between the two, but when you remove or restart you'll loose your ssh server unless your live bootable disk is persistent.
@@SavvyNik my USB is persistent but the user name of my O.S os User because I am using live parrot os but if I enter the name and the i.p adress it is not working
Even with a live / persistent USB it should still work. I'd that you don't have a firewall or something blocking access.
@@SavvyNik yea but I don’t know the user name for the ssh server because all I’ve uses have the same name and the name is user because i am using parrot live usb
Ahh you can make your own account or you'll have to find the default user/pass from parrots website for their live disk.
yes.
What's different btn power shell & cmd in ssh configuration
Nik how do i access my ubuntu web server by a different ssh port i have set up and i have blocked incoming connections to my ubuntu via port 22, and, while i am asking you about the port, what about if i have also removed password authentication and only allow passphrases, can you answer these 2 questions for me? please
ssh -p 777 username@hostname replace 777 with the port number that you want to use that isn't the default port 22.
Generate a key > ssh-keygen -t rsa -b 2048
Copy that key > ssh-copy-id username@hostname
SSH to the sys > ssh username@hostname
Note - You will be prompted to enter a file to save the key. By default, it will be saved in ~/.ssh/id_rsa for the private key and ~/.ssh/id_rsa.pub for the public key.
You'll be asked to enter an optional passphrase. This provides an extra layer of security. If you choose to use a passphrase, make sure to remember it.
You can also copy the key once generated manually.
hey savy
my target pc doesnt have a password but still cmd is asking for a password, tried multiple thing but ain't non work
You have to have a local account with a password.. otherwise anyone could just connect up on the local network.
You ever get it to work that’s my problem as well
I tried this but it won't ask me for a password, it just goes to next line and waits and then says ssh : connect to *ip address* : connection timed out
There's something else wrong. Basically the opposite side that you are trying to connect to cannot be reached or doesn't have proper ssh server setup.
Hi ,how did you resolve this issue,i am getting the same connection timed out
Please tell me it will be very helpful
I followed all of the steps shown in the video and when I try to connect to my VM, it tells me the connection is timed out. What should I do?
make sure you can properly ping your VM
@@SavvyNik Hmm, I figured out how to ping my VM, but whenever I use SSH to connect to it, it tells me the connection was refused. Do I need the OpenSSH server software?
@@fhb04 not if you are sshing from windows to linux. That sounds like an error where the port is being blocked on the VM (port 22)
@@SavvyNik I figured out how to properly connect and open the port, thank you for helping me!
@@fhb04 awesome news, you're welcome!! Congrats and make sure to destroy the crap out of that like button for me =)
nice
Glad you enjoyed the video!
can't get past the logging in part. "Connection timed out". Hopefully I don't need to mess around with port forwarding....
I have the same problem, did you solve it yet?
@@ahmad.software sort of. I bookmarked a Hong Kong link so going through HK seems to work but majority of the time I use TWS desktop app and that doesn't have any connection issues
how can you choose which port you connect to?
As long as your still trying to ssh you can switch ports by doing something like the following: ssh -p 23 @ (the -p means use a different port followed by the specified port for ssh - 23 in this example).
@@SavvyNik Thanks man! is there a way to permanently change the port that it automatically points to so I don't have to type that all in every time?
@@willtoulan 23 port in telnet-unsecure, 22 port is for ssh -secure
I cant for the life of me find any info on how to change the default port ssh tries to connect to. I changed my linux server port from 22 to a different port to harden security, but I can only ssh from my windows 10 into it by adding a -p *newport#* command to the line. I want to be able to have windows automatically use the port when connecting so I don't have to type -p *port* every time.
ssh can contain a config file. You'll have to find where your system would read the config file from and then place you settings in there (aka a special port #) here's an example but this is geared towards linux - linuxize.com/post/using-the-ssh-config-file/
@@SavvyNik Thanks for the reply!
I tried that, I specified in sshd_config in c:/programdata/ssh folder and removed the # from the port line and changed the port but it still tries to connect via port 22.
I also tried created a file called "config" on windows 10 like that link demonstrates but the ssh client doesnt even recognize it and still tries to connect via port 22.
I was able to change the port# server side on my linux vm by altering the config file but my windows10 client ssh doesnt connect without adding the -p *new-port-here* string.
dang.. well the only other thing is you can make a command alias to ssh -p23 so you don't have to type it every time..
hey i have installed ssh server in windows 10 but don't know the password of ssh so how should i know or change The password
The password is of the user you are trying to connect with. You have to have a local account on the computer you are trying to connect to.
@@SavvyNik How should i configure my ssh configuration file in windows?
can I upload a file or code in Linux using windows through SSH
Durgadatta, great question. No you can use another tool called scp (secure file copy) in order to copy over a file. It goes something like the following: scp /host/computer/path/file /remote/computer/path/file
You would have to add the -r switch in order to copy an entire folder. Try looking up the command.
@@SavvyNik Thanks for the Replying.
I have one more question.
* How can I import a file from windows 10 (client server) to linux (main server).
@@durgadattadas5830 Easiest way would be to install scp on the client sever and use scp to copy it over. Otherwise it becomes a pretty big hassle haha!
For a text file, including program code, one way is to list the text on the Windows machine. Open a text editor on the remote Linux machine. Copy and paste the text from the listing to the editor and save.
can i run a command/process when i quit my putty in my windows
I'm not following. You can use ssh without putty in the command line interface if you install this client like shown in the video. This helps you get rid of putty and use ssh natively.
It's very interesting 😉 I have a problem, when I try to connect with a device of my home network I type my password and everything is OK, but when I try to connect from outside of my network, although I opened 22 port on my router, when I type my local password it says me wrong password and I can't understand why🤔 can you help me please?
Doesn't make much sense. Logging in with the same pass and user of the account should work. However I would suggest closing port 22 and not allowing connection to your local home network. This is a security risk. You can always exchange keys to get rid of passwords if you can't get the pass working.
Thanks 😊 is there a way to use the keys instead of password?
Yes, look up ssh key exchange and figure out how to generate and share key.
Where is you video to copy files from Linux to windows @SavvyNik
I think you are looking for this vid perhaps? ua-cam.com/video/2u0I-U0D7Uk/v-deo.html
Make sure to share ;)
No that's the one I'm watching. How do you copy files from Linux to windows. Plz help SavvyNik
Are both online on the same network or you are dual booting windows and linux on the same computer and therefore only one can be on at a time?
@@SavvyNik both are on the same network.
Then you can use SCP to transfer between the two. This is probably the easiest way besides physically do it like with a USB. You can also look up a service called Samba server which will allow you to access a file share on your Linux computer from Windows.
Connection refused... How can i solve it?
You need SSH Server on the computer you are trying to ssh to with port 22 opened up. Then you need a client on the computer you are initiating the connection from. If you can't ping the computer you are trying to connect to that's usually an indication that you don't have a proper setup.
How do you set colors?
Hey, wondering if you can help me.
I installed the openssh on my ubuntu server, and I also installed both SSH client and server on Windows optional features. However, I am unable to connect to the server through CMD, cockpit (web console) and also through my phone SSH app. I tried turning off my VPN and Antivirus (if that makes a difference, but it didn't do anything to help).
Check your firewall both on the router and on any computers that you have. You need to make sure you can ping the SSH server and that all connections are working before connecting via SSH. Also confirm that the daemon (process/service) for SSH is, in fact, running and listening on port 22 on your Ubuntu Server side.
:D
The one and only 😃thanks Sai!
this didn't work for me. Could you help ?
There could be a lot of reasons for this. Please read up on how ssh works between computers.
@@SavvyNik thanks for answering, I've found a solution.
But I'm not sure yet if it's a good one.
To whom this might help : on your linux machine, open the file sshd_config with your favorite editor .
For example : sudo nano /etc/ssh/sshd_config
and look for these lines:
# To disable tunneled clear text passwords, change to no here!
#PasswordAuthentication no
I just put a # in front of Password Authentication no
@@fabrice9848 thanks for sharing
I use Powershell
yaaay
how do i get a file off my server from ssh?
Use SCP here's a vid - ua-cam.com/video/2u0I-U0D7Uk/v-deo.html
how to connect using PPK file
When i enter my password after the ssh command it says the password is incorrect, I entered my default windows password
Are you sure you have a local account setup on your windows computer?
@@SavvyNik i dont know about how to check that
connection refused !!
where i got login password?
please help me
Zoom into the text it's way to small.
connection timeout error
The sound of the videos is not good
port 22 problem
You need port 22 opened up through your firewalls in order to use SSH. By default 22 is the port for SSH tunneling..
@@SavvyNik i did that
@@SavvyNik Problem is about password
@@khayryazzez you need to make sure to have a local account whatever is hosting the ssh server. Otherwise you won't be able to login. You can setup a local account through the user settings/accounts page.
@@SavvyNikI have did it, even i have attempted to connect to my machine by (username@localhost(or my address )) and he always keep asking about the password
hm i can't see open ssh client
You might need a newer version of windows.
How do i make it auto type in the password?
You need to exchange keys there's no other easier way. Then you could login automatically.
Permission denied (publickey).
Figure out how to share keys between computers.
@@SavvyNik yes , i downloaded public key and added it to auth
thank you