LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-08-2017, 02:00 AM   #1
Bloodaxe
LQ Newbie
 
Registered: Aug 2017
Posts: 2

Rep: Reputation: Disabled
ssh connection problem


linux system does have any password and wanted to connect that system through another but it is not connecting says permission denied.
So suggest me some solution for this problem
 
Old 08-08-2017, 03:55 AM   #2
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 20,772

Rep: Reputation: 7057Reputation: 7057Reputation: 7057Reputation: 7057Reputation: 7057Reputation: 7057Reputation: 7057Reputation: 7057Reputation: 7057Reputation: 7057Reputation: 7057
you gave no usable information about your problem, so hard to say anything. Probably you mistyped your username/password/hostname/port, probably something misconfigured.
See http://catb.org/~esr/faqs/smart-ques...html#beprecise
 
Old 08-08-2017, 06:52 AM   #3
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Hi Bloodaxe,

Welcome to LQ!

If you're trying to log in as root, but root log-in is disabled, you might get that error.
 
Old 08-08-2017, 09:16 AM   #4
Bloodaxe
LQ Newbie
 
Registered: Aug 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
thank for helping me pan64 and AwesomeMachine, my problem is that
I want to connect to a system(first system) remotely using ssh remote host from another system and I also know the IP address of that system(first system) which has to be connected. For the first system (which I wanted to connect) has no user password to log in.
While connecting to the first system I have typed in the terminal "ssh student@172.16.9.188" and it asked for the password, when I click enter it says permission denied since there is no user password for the first system which I wanted to connect
 
Old 08-08-2017, 09:20 AM   #5
Timothy Miller
Moderator
 
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 3,954
Blog Entries: 23

Rep: Reputation: 1492Reputation: 1492Reputation: 1492Reputation: 1492Reputation: 1492Reputation: 1492Reputation: 1492Reputation: 1492Reputation: 1492Reputation: 1492
Is it set up to use private/public keypair to login instead? If so you need to tell ssh where the private key that matches the public key (authorized_keys usually) on the target system is. IE
Code:
ssh -i /path/to/private/key student@172.16.9.188
 
Old 08-08-2017, 10:14 AM   #6
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
Am I grasping this correctly? You want simply want to log into another system using passwordless ssh? OR you want to log into another system using passwordless ssh, and from that system run ssh into a third system that requires login credentials for ssh?
 
  


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] Ssh connection problem cajunchief Linux - Software 15 01-06-2016 10:16 AM
ssh connection problem sekhar.hai Linux - Newbie 7 07-16-2014 11:43 PM
SSH connection problem ssiddall Linux - Networking 8 10-30-2012 07:04 AM
ssh connection problem. windstory Linux - Newbie 2 01-02-2009 06:25 PM
A problem with ssh connection lawrence_lee_lee Linux - Software 5 05-16-2008 08:14 AM

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

All times are GMT -5. The time now is 07:36 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
Open Source Consulting | Domain Registration