LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,926

Rep: Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320Reputation: 7320
sometimes root is not allowed to ssh, try another user.
 
Old 01-13-2016, 05:22 AM   #3
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
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: 19,342
Blog Entries: 28

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


Reply



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 09:54 AM.

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
Open Source Consulting | Domain Registration