I'm using fatdog64 which I believe comes with open ssh installed. Here is what I have for configuration options in][V][ wrote:Update
I got "openssh-server_6.6p1-2ubuntu2.8_amd64.deb"
And
I got "telnetd_0.17-36build2_amd64.deb"
From the link above
And late last night I tried them and this is the detail on what happened:
first, before doing anything I thought why don't I revert everything back since all the things I tried did not work, so I uninstalled the telnet and openssh (which was the 32 and did not work), I also uninstalled "xauth_1.0.7-1ubuntu1_amd64.deb" and also deleted that script that I made that was suggested in the beginning of this discussion and rebooted tahrpup.
...
than I thought OK, just forget about it and try the oppenssh
uninstalled telnet, reboot, installed "openssh-server_6.6p1-2ubuntu2.8_amd64.deb"
Went to see if everything was there which was, so tried to start, got error, almost same kind of error, it was saying something like "share lib" does not exist, tried to find sshd in usr/sbin, it was there but it did not look like all normal program with kind of like wheel looking icon, instead the icon looked like "#", I doubled clicked on it, nothing was executed but I got a windows looked like kind of property kind of windows and there was a list of files, most of them having "lib" and "dll" in their names, looked like the sshd is kind of .Zip archive and maybe that's why it was giving me the error.
....
/etc/ssh/sshd_config
Code: Select all
PermitRootLogin yes
AuthorizedKeysFile .ssh/authorized_keys
AllowTcpForwarding yes
AddressFamily inet
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes
TCPKeepAlive yes
UsePrivilegeSeparation sandbox # Default for new installations.
Subsystem sftp /usr/libexec/sftp-server
AllowUsers root spot
http://murga-linux.com/puppy/viewtopic.php?t=110157
The script to start sshd on fatdog 64 is as follows
/etc/init.d/65-sshd
Code: Select all
#!/bin/dash
DAEMON=sshd
DAEMON_BIN=/usr/sbin/sshd
is_up() {
pidof $DAEMON > /dev/null
}
start() {
if ! is_up; then
$DAEMON_BIN
echo $DAEMON started
fi
}
stop() {
if is_up; then
killall $DAEMON
echo $DAEMON stopped
fi
}
reload() {
if is_up; then
killall -HUP $DAEMON
echo $DAEMON configuration reloaded
else
echo $DAEMON is not running
fi
}
### main
case $1 in
start) start ;;
stop) stop ;;
status) is_up && echo "$DAEMON is running" || echo "$DAEMON is stopped" ;;
reload) reload ;;
restart) stop; sleep 1; start ;;
esac
http://www.pearltrees.com/s243a/ssh-linux/id16286760