Around 18 months ago, I built a desktop computer so I would have a little more firepower at my fingertips when I needed it. My hope was to avoid ...
For further actions, you may consider blocking this person and/or reporting abuse
Hey! I am a noob at all these things. When I do ifconfig it shows
eno1
noteth0
. Are those same? Because I am using Ubuntu 16.04. And nothing shows when I doifconfig | grep "inet addr"
. And When Iifconfig | grep inet
, then some IP address shows up when I try to ssh using a different machine from the different network. It shows me "error :ssh_exchange_identification: read: Connection reset by peer". Can you tell what I am doing wrong?I don't know but here are 2 tips:
Use
ip
notifconfig
, see how and whyUse
ssh -vvv
verbose mode which will tell you more details why it failed.Eth0 was an old convention and is used when the OS can't determine where the card is.
Eno refers to an interface on the motherboard, with the # representing which interface (for servers with more than 1) there's another set of letters to identify expansion card interfaces, but it's a google search away
This new convention is more in line with how Linux names their storage devices ie: sda, vdb, etc..
Great work, all i needed to do was the
openssh-server
package, the sshclient is provided with GitBash for windows, which is probably installed. but i guess iwould have to port forward to do this anywhere else, my use case is just windows machine to my linux machineHi, thanks a lot for your guide! It has been very insightful and useful.
Unfortunately, I encountered a problem I did not expect, and I do not know how to fix this.
For a few days after I configured my devices everything ran smoothly. Nevertheless, all of a sudden, I could not log in my home computer anymore and I found out that the public IP address of my home network changed.
Do you have any idea how this could happen? I may have rebooted my router one time, but I did not know that at every reboot the IP address changes. How can I keep it the same?
Thanks a lot!
Best,
T
Use a DDNS Service, i have maken a comment in this thread, and i dont want to copy/paste that comment, link
Thanks a lot. Sorry I missed it!
Best,
T
No problem, i had just maken that comment a few minutes ago...
My broadband provider has provided me with private IP. I checked my IP at whatsmyip.org, which is different from the IP showing at my details WAN. Do I have to buy a public IP from them or I can buy that from anyone else?
yo wtfismyip.com is way better alternative
IP getting
Some options
DDNS ( Dynamic Domain Name Service )
A popular example is Duckdns, or FreeDNS, these services let your server make a request and get one of their subdomains point to you instead of using an IP address
Very well written i learned a lot from this however i am stuck with weird issue i was attempting to log in from different network but i am getting permission denied error any idea what is causing this because i can log in from the same network
sudo restart(or stop or start) ssh
doesn't work anymore on recent ubuntu OS (16.04 and above). To start your ssh server you need to use:
sudo systemctl start ssh.
Hey brother! Can you tell something about
eth0
andeno1
? Can read you my comment above or below and help me?Nice one, btw the ifconfig doesn't work for me, ip is the alternative.
Thanks Zach. I can now access two small servers on my private local network from anywhere I have Internet access. I connect to my desktop and ssh from there to the other machines. Next I plan on bumping up the security as you discuss in the last section.
i think ssh stands for secure shell not secure socket shell
Thanks for the tutorial
Very informative article thanks for shaing with us...
How to setup my server if I do not have a router and forwarding port is not an option??
Awesome!
Thanks a lot for this tutorial ! It helped me a lot :D
Zach, awesome guide. Very easy to follow even for someone new to these concepts.
Great article, got my server up and running in no time!
Awesome stuff! Thanks Zach
Nice guide! Is it possible to listen on Port 22 for local connections only, and expose Port e.g. 1337 for remote connections?
a port scanner shows that only ports 21 and 80 are open on my public IP. Does this mean I cannot use true ssh without the help of my IPS ??
No you have to open the ports through your router and The ISP doesnt have to get involved and also you can use whatever port youd like