Installed ssh on Debian how to remote login?



So it’s mot advised to switch distros?

And why do I have a class a address? That’s my network address, I don’t have a separate ssh address?
 
So it’s mot advised to switch distros?

And why do I have a class a address? That’s my network address, I don’t have a separate ssh address?
negative ghost rider. you connect to ssh using the ip of the system you want to connect to. I'll break it down for you.
your computer has an IP address. to run an ssh server you get it to listen for connections on a port (usually port 22). to use it you simply use ssh like this:
Code:
substitute user for the user you want to log in as. substitute that ip for the ip of the computer you want to connect to.
 
negative ghost rider. you connect to ssh using the ip of the system you want to connect to. I'll break it down for you.
your computer has an IP address. to run an ssh server you get it to listen for connections on a port (usually port 22). to use it you simply use ssh like this:
Code:
substitute user for the user you want to log in as. substitute that ip for the ip of the computer you want to connect to.

I think I'm behind a nat which is why is 10.0.0.0/24 so I probably need to contact comcast and ask them for the dynamic dns settings so I can log in.

But thank you.

Also the distro thing like I asked before, it advised to stick with the same distro?

My job uses gentoo and debian together.

For learning purposes should I just stick with unbuntu on both machines?
 
I think I'm behind a nat which is why is 10.0.0.0/24 so I probably need to contact comcast and ask them for the dynamic dns settings so I can log in.

But thank you.

Also the distro thing like I asked before, it advised to stick with the same distro?

My job uses gentoo and debian together.

For learning purposes should I just stick with unbuntu on both machines?
there shouldn't be a reason to contact your provider. if the ssh server is outside your network then you'll have to do some extra configuration, but if it's on your network you should be able to just connect.
yeah sticking with Ubuntu should be fine.
 
Im assuming that you want to connect to your home pc from work.(if its the other way around you will need access to your company router)

You will visit https://www.whatismyip.com/ and copy your public IPv4 address. Then login to the router and port foward port 22 to point to the local IP address of your pc you want to connect to.

Now when you're remote you should be able to type "ssh user@<public ipv4 address>" and it will connect.
 

Staff online


Top