Forum Discussion
Altera_Forum
Honored Contributor
17 years agoSSH broken
Under Customize Application/Library Settings Network Applications --> [*] ssh [*] sshd [*] ssh-keygen I also enabled syslog BusyBox --> [*] System loggi...
Altera_Forum
Honored Contributor
17 years agoSlacker may be correct that Dropbear is a better solution. I plan to look at that at some point . I did manage to get ssh working.
First it seemd that in a uClinux environment the ssh daemon expects to be launched from inetd. So I modified the ssh makefile in uClinux-dist/user/ssh to add a line in the inetd.conf file to launch the Daemon. $(ROMFSINST) -e CONFIG_USER_SSH_SSHD -a "ssh stream tcp nowait root /bin/sshd -i" /etc/inetd.conf I am using a simple sshd_config file: Port 22 Protocol 2 AddressFamily inet I generated the host keys on my PC Linux workstation and copied them into the jffs2 file system. The RC file copies them into the /etc directory. Not very efficient. To start an ssh session from my workstation on the nios2 target I type: ssh -x -l root -T <IP ADDRESS> As mentioned in the initial post, I enabled the three ssh utilities in Network Applications. I did not need to explicitly enable ssl. There was some documentation around that indicated that it was needed. If so it is picked up automatically. Alex