how to access DSL via ssh?Forum: Networking Topic: how to access DSL via ssh? started by: derkaan Posted by derkaan on June 28 2005,10:06
Hi,I'm trying to connect to my DSL over ssh but it doesn't work. I installed a minimal debian (It' really cool to start debian within WinXP! DSL rocks! ), and my ifconfig says that i have this network setting: inet Address: 10.0.2.15 Bcast: 10.0.2.255 If I try to connect to it via putty from the same machine I get an error about an unrechable network. Could somebody tell me what went wrong, and/or point me to a page where I can get more info about this topic? Thank you in advance derkaan Posted by cbagger01 on June 28 2005,17:01
You are probably experiencing a connectivity problem related to running the QEMU virtual PC emulator on your MS Windows XP computer.Some changes will need to be done to (1) allow the port to be opened inside the QEMU virtual firewall and (2) allow the port to be opened from behind the MSWindows Firewall (turned on by default for WinXP service pack2) or other brand like McAfee, Norton, BackIce or ZoneAlarm. You can visit the QEMU web site and support lists for help on getting QEMU to work with a service (ssh) that is running on the guest OS system. If you want to make sure that your DSL operating system is set up properly, you can boot natively into DSL (boot directly into DSL instead of running it from inside MS Windows) and try SSH into the PC from a different computer on your network. If SSH works fine, then you know that you are using DSL properly and the real problem is QEMU or Firewalls. Good Luck. Posted by magicpio on July 02 2005,19:06
Hi,I had a different problem why I couldn't SSH. Reason was that root and dsl password were empty but SSH server on DSL requires a password. Solution: Tested with DSL 1.2.1, frugal harddisk install 1) Open Xterm as root. 2) Enter passwd and follow the instructions. 3) Enter passwd dsl to change password for user "dsl" as well and follow instructions 4) If passwd shows an error message like this "passwd: An error occurred updating the password file" then write permissions are missing. Enter /etc/init.d/ssh_addusers and repeat 2) and 3) 5) Start SSH server from the DSL desktop. 6) Start SSH client, e.g. putty from your other system. To login from a Windows box I use WinSCP to connect via SSH and then start (from the WinSCP main menu) a Putty session. Enjoy! Pio Posted by Agus on Dec. 13 2005,21:41
I'm having problem that the ssh keep asking for password after I configured the authorized_keys2.Does anyone ever tried using automatic ssh authentication with authorized_keys2 ? I got it to work on Solaris and KNOPPIX 3.4, but not DSL, which keep asking for password |