LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-13-2016, 04:16 AM   #1
Marceljaff
LQ Newbie
 
Registered: Jan 2016
Posts: 2

Rep: Reputation: Disabled
How to ssh remotely


Dear friends,
First of all, thanks for all the responses I have gotten to my first question on this forum.
I am still new to linux. Here is another question.
I tried to ssh remotely using ssh root@<IP address> and it kept failing and timing out. A friend suggested that it was because I was in a different network. Please help!
Kind Regards!
 
Old 01-13-2016, 04:41 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,081

Rep: Reputation: 4137Reputation: 4137Reputation: 4137Reputation: 4137Reputation: 4137Reputation: 4137Reputation: 4137Reputation: 4137Reputation: 4137Reputation: 4137Reputation: 4137
sometimes root is not allowed to ssh, try another user.
 
Old 01-13-2016, 05:22 AM   #3
berndbausch
Senior Member
 
Registered: Nov 2013
Location: Tokyo
Distribution: Redhat/Centos, Ubuntu, Raspbian, Fedora, Alpine, Cirros, OpenSuse/SLES
Posts: 3,455

Rep: Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905Reputation: 905
Quote:
Originally Posted by Marceljaff View Post
Dear friends,
First of all, thanks for all the responses I have gotten to my first question on this forum.
I am still new to linux. Here is another question.
I tried to ssh remotely using ssh root@<IP address> and it kept failing and timing out. A friend suggested that it was because I was in a different network.!
There are many reasons why this might fail.
I would start with:
  • Is the IP address reachable at all? Try ping ip-address.
    This is what your friend is suggesting.
  • Is the remote system set up for ssh access? This requires an ssh daemon or service running, and port 22 open in the firewall.
 
Old 01-13-2016, 08:47 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 15,434
Blog Entries: 25

Rep: Reputation: 4439Reputation: 4439Reputation: 4439Reputation: 4439Reputation: 4439Reputation: 4439Reputation: 4439Reputation: 4439Reputation: 4439Reputation: 4439Reputation: 4439
To build on what berndbausch said, it may also require port-forwarding to the configured in the router at the target location.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Unable to ssh into my server remotely manipremkumar Linux - Networking 24 09-06-2011 10:04 AM
problem in logging in remotely through ssh ramesh14 Linux - Software 1 12-12-2009 06:26 AM
can't login using ssh (via Putty) remotely blinton25 Linux - Software 11 05-27-2007 01:17 AM
Can't login remotely using SSH or Telnet jviezel Linux - Networking 4 12-31-2006 03:12 PM
ssh to 2 PCs on my network remotely? ncsuapex Linux - Networking 5 05-16-2006 02:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration