LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-02-2014, 11:05 AM   #1
yzT!
Member
 
Registered: Jan 2013
Distribution: Debian
Posts: 168

Rep: Reputation: 2
Can't connect to SSH server on a VirtualBox VM (bridge mode)


I'm trying to connect to the SSH server of one of my machines, but I haven't had success. The network adapter is configured as bridged and the router is forwarding the port to the IP, however both internal and external connection attempts fail.
 
Old 03-03-2014, 06:36 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Have you tried to get more information by using ssh's -v (verbose) option and/or looking in /var/log/auth.log (or whichever other log sshd writes to on your distro)?

Is the private key accessible to the user only? Normally the .ssh directory is rwx------ and the key rw-------
 
Old 03-03-2014, 11:59 AM   #3
yzT!
Member
 
Registered: Jan 2013
Distribution: Debian
Posts: 168

Original Poster
Rep: Reputation: 2
Suddenly, it's working.
 
  


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] OpenVPN in bridge mode cutting access to web (Server with 3 NICs acting as router) Joaquim Almeida Linux - Networking 1 09-10-2012 12:12 AM
SSH connection in graphical mode (X-Server?) max2004 Linux - Networking 12 01-25-2012 05:19 AM
use netcat as a bridge to connect two server samanp Linux - Networking 3 04-11-2011 03:21 PM
My ssh isn't working for some domains (VPN), but Virtualbox can connect Bjorne Linux - Networking 3 01-07-2011 09:35 AM
Someone setup my linux in bridge mode for Windows server callingcard Linux - Networking 27 03-04-2010 04:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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