Re: Bootable CD problem
From: Jose Hidalgo Herrera (jose_at_hostarica.com)
Date: 07/25/03
- Previous message: Schubert, John [NTWK SVCS]: "RE: getgroup invalid argument in /var/adm/messages"
- In reply to: Reid Johnson: "Bootable CD problem"
- Next in thread: Zhang Erning: "RE: Bootable CD problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Fri, 25 Jul 2003 16:16:09 +0000 (GMT) To: Reid Johnson <rjohnson@vintacom.com>
I have made CD bootable firewall with ssh but using freeBSD and I
can see that exists a big problem with your setup,
you are using root to log into the server via ssh ?,
thats an error, create a user in the wheel group, and restrict
the right to su, maybe thats why ssh is not working,
ssh should never let root login,
second, be sure that the key files of sshd has the proper rights:
-rw-r--r-- 1 root wheel 88110 Oct 9 2002 moduli
-rw-r--r-- 1 root wheel 1233 Oct 9 2002 ssh_config
-rw------- 1 root wheel 668 Jul 17 02:42 ssh_host_dsa_key
-rw-r--r-- 1 root wheel 595 Jul 17 02:42 ssh_host_dsa_key.pub
-rw------- 1 root wheel 520 Jul 17 02:41 ssh_host_key
-rw-r--r-- 1 root wheel 324 Jul 17 02:41 ssh_host_key.pub
-rw------- 1 root wheel 883 Jul 17 02:41 ssh_host_rsa_key
-rw-r--r-- 1 root wheel 215 Jul 17 02:41 ssh_host_rsa_key.pub
-rw-r--r-- 1 root wheel 2414 Oct 9 2002 sshd_config
Maybe your iso gives more rights than necesary!
-- The surer you are that you like what you are doing, the more completely your other ambitions are being suppress On Thu, 24 Jul 2003, Reid Johnson wrote: > > Hello, > > I am trying to build a CD bootable firewall with SSH support. The sshd on my source systems works great, but when mount my root system on the CD I can not login to system. When I attempt to ssh in I am prompted for a username and password, then I get a flashing cursor and that's it. I show a PID for the session and it is obvious that it is for the user I have logged in with. It is like I am not loading any of the environmental variables or a shell. > > The ISO I created for the cd is identical to the source system other than I mount a RAM disk for /etc, /var, and /root. I think this is a simple issue but unfortunately I have not been able to isolate it. Is there a file I need to write to in one of my read-only directories? > > I am running an LFS system with kernel version 2.4.20, and openssh version 3.6.1. > > Any ideas? > > Thanks, > Reid > >
- Previous message: Schubert, John [NTWK SVCS]: "RE: getgroup invalid argument in /var/adm/messages"
- In reply to: Reid Johnson: "Bootable CD problem"
- Next in thread: Zhang Erning: "RE: Bootable CD problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|