LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-01-2016, 05:21 AM   #1
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Permission denied when trying to connect to the installer through SSH (host => VM)


This is a follow-up of these threads:
http://www.linuxquestions.org/questi...rd-4175488801/
http://www.linuxquestions.org/questi...mg-4175573046/

I have equipped a VirtualBox VM with a second NIC (host only adapter), started the installer with an adapted command line so that a connection be set and dropbear started, checked the IP with ifconfig, tried to ssh to this IP, was greeted by dropbear, but couldn't log in (permission denied). I checked that /etc/passwd includes the "empty" password.

Any clue appreciated.

PS In real life I would have set a static IP so I can include it in the ssh command without "physical" access to the installer, but that's not the point.
Attached Thumbnails
Click image for larger version

Name:	nic_setting.jpg
Views:	55
Size:	52.7 KB
ID:	20994   Click image for larger version

Name:	params.png
Views:	60
Size:	9.7 KB
ID:	20995   Click image for larger version

Name:	ifconfig.png
Views:	50
Size:	12.4 KB
ID:	20996   Click image for larger version

Name:	connect.jpg
Views:	60
Size:	43.1 KB
ID:	20997   Click image for larger version

Name:	empty_passwd.png
Views:	56
Size:	4.2 KB
ID:	20998  


Last edited by Didier Spaier; 03-01-2016 at 05:26 AM.
 
Old 03-01-2016, 05:57 AM   #2
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018
Unless I'm misunderstanding what you're trying to do (login to the install environment?)
it's because you're trying to login as user 'didier'.

ssh root@192.168.56.101
 
1 members found this post helpful.
Old 03-01-2016, 06:13 AM   #3
Drakeo
Senior Member
 
Registered: Jan 2008
Location: Urbana IL
Distribution: Slackware, Slacko,
Posts: 3,716
Blog Entries: 3

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Your second nic you created in your virtual box is treated the same as a real system by your modem. you will need to look into letting a pin hole in firewall etc so you can callback to that nic. That is only a guess. seems your modem firewall is stopping you you may need to set up a port for that nic card.
I ran into this when setting up opensim in Virtual box. It is just a guess.
 
Old 03-01-2016, 06:39 AM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by GazL View Post
Unless I'm misunderstanding what you're trying to do (login to the install environment?)
it's because you're trying to login as user 'didier'.

ssh root@192.168.56.101
That was it, thanks Gazl!

I feel stupid, but also happy that I can mark this thread as [SOLVED]

Drakeo, thanks for trying to help too.

Thanks also Eric Hameleers for this article:
http://alien.slackbook.org/blog/remo...are-using-ssh/

Last edited by Didier Spaier; 03-01-2016 at 06:44 AM.
 
1 members found this post helpful.
Old 03-01-2016, 07:30 AM   #5
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018Reputation: 5018
No worries. A second pair of eyes often helps, and costs nothing.
 
  


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] Access denied by the host (nfs.mount from the Slackware64-current installer) Didier Spaier Slackware 15 02-29-2016 04:46 AM
SSH permission denied bmorency Linux - Server 5 09-18-2015 07:02 AM
ssh - Permission Denied? vendtagain Linux - Newbie 4 11-21-2009 09:28 PM
SSH: Permission denied, please try again. sanatox Linux - Security 3 01-15-2007 09:47 PM
Can't connect... permission denied bm322 Linux - Security 2 07-18-2005 09:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:09 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