You are not logged in.

#1 2010-06-09 14:46:15

pojin
Member
Registered: 2010-04-08
Posts: 10

[Solved]Can't ssh with archlinux on virtualbox

I have installed archlinux on virtualbox and everything works fine except that I can't connect in SSH to it. Squid,apache and ftp works fine from external network but SSH goes in timeout.I'm not in NAT but I'm bridging the network to my nic. What should I do?

HostOS:Vista sp2
GuestOS:archlinux

Last edited by pojin (2010-06-09 19:29:59)

Offline

#2 2010-06-09 15:04:44

hcjl
Member
From: berlin
Registered: 2007-06-29
Posts: 330

Re: [Solved]Can't ssh with archlinux on virtualbox

is there anything in /var/log/auth.log while trying to connect via ssh?

Offline

#3 2010-06-09 15:05:48

davidgurvich
Member
Registered: 2010-02-11
Posts: 118

Re: [Solved]Can't ssh with archlinux on virtualbox

You may need to adjust the hosts.allow or hosts.deny file for ssh.

Offline

#4 2010-06-09 15:13:09

pojin
Member
Registered: 2010-04-08
Posts: 10

Re: [Solved]Can't ssh with archlinux on virtualbox

hcjl wrote:

is there anything in /var/log/auth.log while trying to connect via ssh?

refused connect from 192.168.1.101 (tried connecting from my lan)

@davidgurvich
I tried adding an user in hosts.allow same result.

Last edited by pojin (2010-06-09 15:17:06)

Offline

#5 2010-06-09 17:34:33

synthead
Member
Registered: 2006-05-09
Posts: 1,337

Re: [Solved]Can't ssh with archlinux on virtualbox

Try adding

sshd:ALL

to your /etc/hosts.allow file.

Offline

#6 2010-06-09 17:41:18

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: [Solved]Can't ssh with archlinux on virtualbox

Try connecting with

ssh -vv

this will give you more information.

You can use up to three v's each extra v increases verbosity.

man ssh

Offline

#7 2010-06-09 19:29:36

pojin
Member
Registered: 2010-04-08
Posts: 10

Re: [Solved]Can't ssh with archlinux on virtualbox

synthead wrote:

Try adding

sshd:ALL

to your /etc/hosts.allow file.

Ok, now it works. Thank you.

Offline

#8 2010-06-09 19:32:14

Ashren
Member
From: Denmark
Registered: 2007-06-13
Posts: 1,229
Website

Re: [Solved]Can't ssh with archlinux on virtualbox

pojin: With "sshd: ALL" on and if you're using port 22 keep an eye on your /var/log/auth.log.

smile

Offline

Board footer

Powered by FluxBB