-
SSH blocked?
Hi,
I'm live booting on machine with view to doing an HD install
Machine is currently running (almost, refusing to boot anymore) Xandros linux.
Problem:
SSH to the live boot machine(DHCP'd 10.1.0.44 ) doesn't work.
No error message, just ssh hangs forever ( does even show a login prompt )
Tried from a Windows machine using putty and from DamnSmall Linux using just ssh
Both machines can ping 10.1.0.44 and it can ping them.
ssh on 10.1.0.44 to DamnSmall linux machine also hangs ( Window putty to DSL works ).
Netstat on machine shows I have started sshd and it's listening ( 10.1.0.44:ssh *:* LISTEN )
KNOPPIX Firewall is reporting as "Firewall Active? no"
from 10.1.0.44 I can do: ssh 10.1.0.44 and it connects okay.
Running a Port Scan from 10.1.0.44 to 10.1.0.44 shows ssh open.
Running a Port Scan from 10.1.0.44 to DSL machine also shows ssh open.
Any ideas?
Is there another firewall somewhere?
NOTE: Also Icewasel is not able to connect to web server on DSL machine. It's looking like it TCP that's not working a UDP/ICMP is? (ie ping works)
Is it something in the /etc/ssh/sshd-config that I can't spot that's stopping it working?
-
Senior Member
registered user
you first need to generate host keys and start the daemon with "/etc/init.d/ssh start" (as root).
-
I believe those keys were created when I ran the sshstart script.
In /etc/ssh I have:
moduli
primes
ssh_config
ssh_host_dsa_key
ssh_host_dsa_key.pub
ssh_host_key
ssh_host_key.pub
ssh_host_rsa_key
ssh_host_rsa_key.pub
sshd_config
I reboot and started again and re-run that script, changed root passwd and it's made no difference.
Can still ping but not ssh to or from the live boot machine.
-
Senior Member
registered user
Try ssh -v . This increases the verbosity of the client - perhaps it will tell you what's missing.
-
Good suggestion, not sure if this helps anyone.
This is trying to ssh to the live boot Knoppix 5.1.1 ( Current Linux Mag Cover disk. Issue 77 )
Trying from DamnSmall Linux:
root@0[root]# ssh -v 10.1.0.44
OpenSSH_3.6.1p2 Debian 1:3.6.1p2-9, SSH protocols 1.5/2.0, OpenSSL 0x0090705f
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: /etc/ssh/ssh_config line 17: Deprecated option "FallBackToRsh"
debug1: /etc/ssh/ssh_config line 18: Deprecated option "UseRsh"
debug1: Rhosts Authentication disabled, originating port will not be trusted.
debug1: Connecting to 10.1.0.44 [10.1.0.44] port 22.
debug1: Connection established.
debug1: read PEM private key done: type DSA
debug1: read PEM private key done: type RSA
debug1: identity file /root/.ssh/identity type -1
debug1: identity file /root/.ssh/id_rsa type -1
debug1: identity file /root/.ssh/id_dsa type -1
Try to go from Knoppix back back to the DamnSmall linux machine:
# ssh -v 10.1.0.10
Basically the lines with errors are:
debug1: An invalid name was supplied
Cannot determine realm for numeric host address
debug1: An invalid name was supplied
A parameter was malformed
Validation error
debug1: SSH2_MSG_KEXINIT sent
-----------------------------------------------------------
Giving the machines names in /etc/hosts made no difference.
-
Senior Member
registered user
>debug1: An invalid name was supplied
I don't know if 'name' means username, but just to make sure try
ssh username@10.1.0.10
where 'username' is a valid account on 10.1.0.10 .
You might also try to step up ssh's verbosity by increasing the amount of 'v's
up to three (ssh -vvv).
Consider running sshd on 10.1.0.10 with -D or -d options (man sshd for details)
to see what's going on on the other side of the connection.
(P.S. I won't be reading this forum before Mon 12th again, just in case you
wonder why I've stopped responding :-)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
![Dell PowerEdge FX2S FC830 Blade Server Chassis Enclosure 2*2000W PSU NO BLADES picture](/store/img/g/a4EAAOSwJhJmPSdt/s-l225/Dell-PowerEdge-FX2S-FC830-Blade-Server-Chassis-Enc.jpg)
Dell PowerEdge FX2S FC830 Blade Server Chassis Enclosure 2*2000W PSU NO BLADES
$299.99
![Dell PowerEdge M620 Blade Server 2x 10C E5-2690v2 64GB Ram 2x 600GB 10k HDD picture](/store/img/g/JBcAAOSwdu1mXLZT/s-l225/Dell-PowerEdge-M620-Blade-Server-2x-10C-E5-2690v2-.jpg)
Dell PowerEdge M620 Blade Server 2x 10C E5-2690v2 64GB Ram 2x 600GB 10k HDD
$125.00
![Dell PowerEdge FX2s CTO Blade 4 Slot 2U Chassis 2x 2000W picture](/store/img/g/9HsAAOSw3OZmMT~n/s-l225/Dell-PowerEdge-FX2s-CTO-Blade-4-Slot-2U-Chassis-2x.jpg)
Dell PowerEdge FX2s CTO Blade 4 Slot 2U Chassis 2x 2000W
$399.00
![Dell PowerEdge M620 Blade Server 2 x Xeon e5 2665 8 x 16 GB(128) RAM - No HD picture](/store/img/g/HUMAAOSwj3ZmdO6c/s-l225/Dell-PowerEdge-M620-Blade-Server-2-x-Xeon-e5-2665-.jpg)
Dell PowerEdge M620 Blade Server 2 x Xeon e5 2665 8 x 16 GB(128) RAM - No HD
$44.99
![Dell PowerEdge M520 Blade Server Xeon E5-2403 NO HDD NO RAM picture](/store/img/g/VFIAAOSwXbhmYLj1/s-l225/Dell-PowerEdge-M520-Blade-Server-Xeon-E5-2403-NO-H.jpg)
Dell PowerEdge M520 Blade Server Xeon E5-2403 NO HDD NO RAM
$40.00
![Dell PowerEdge FC830 8-SFF 4*Xeon E5-4669v3 2.1GHz No HDD/RAM Blade Server Node picture](/store/img/g/z5AAAOSwsh9mTla-/s-l225/Dell-PowerEdge-FC830-8-SFF-4-Xeon-E5-4669v3-2-1GHz.jpg)
Dell PowerEdge FC830 8-SFF 4*Xeon E5-4669v3 2.1GHz No HDD/RAM Blade Server Node
$199.99
![Dell PowerEdge M610 Blade Server E5620@2.2GHZ (6x)8GB RAM (2x)146GB 15K SAS HDD picture](/store/img/g/5WkAAOSwOGtmet-8/s-l225/Dell-PowerEdge-M610-Blade-Server-E5620-2-2GHZ-6x-8.jpg)
Dell PowerEdge M610 Blade Server E5620@2.2GHZ (6x)8GB RAM (2x)146GB 15K SAS HDD
$79.00
![Cisco UCSB B200 M4 Blade Server Module w/2x Xeon E5-2630v4, No RAM, Missing top picture](/store/img/g/2PUAAOSwINZmgIc7/s-l225/Cisco-UCSB-B200-M4-Blade-Server-Module-w-2x-Xeon-E.jpg)
Cisco UCSB B200 M4 Blade Server Module w/2x Xeon E5-2630v4, No RAM, Missing top
$49.99
![HP P17342-B21 M750 E2286M CTO BLADE SERVER picture](/store/img/g/pv8AAOSwmIJlcebB/s-l225/HP-P17342-B21-M750-E2286M-CTO-BLADE-SERVER.jpg)
HP P17342-B21 M750 E2286M CTO BLADE SERVER
$269.95
![HP ProLiant BL460c Gen9 Blade 2x E5-2690v4 2.6GHz =28 Cores 32GB P246 650FLB picture](/store/img/g/ofQAAOSw62Rk0wlt/s-l225/HP-ProLiant-BL460c-Gen9-Blade-2x-E5-2690v4-2-6GHz-.jpg)
HP ProLiant BL460c Gen9 Blade 2x E5-2690v4 2.6GHz =28 Cores 32GB P246 650FLB
$223.00