Hi Ok, i was told sshd will keep sessions alive during an upgrade, which would make sense since they're in memory and i'm upgrading the binary on disk. Still, after many aptitude upgrades where the ncurses popup tells me the following services need to be restarted, that didn't come to mind at the time. So the idea was to run two different binaries on two different ports with two different config files (just changing the port (yes i opened the ports in the fw)). This is a minimal remote server running lenny. Here's a step-by-step of what i've done, maybe someone can shed some light on where i went wrong:
1. cp /usr/sbin/sshd /usr/sbin/sshd2 2. cp /etc/ssh/sshd_config /etc/ssh/sshd_config2 Change the port in 2. 3. open the new port in the fw and restart it 4. cp /etc/init.d/ssh /etc/init.d/ssh2 Come to think of it i don't know why i would also copy the init script, 'cos that evidently screwed any attempt at a clean reboot. 5. /usr/sbin/sshd2 -f /etc/ssh/sshd_config2 & 6. test both connections 7. wget ...debian.org...openssh-server_5.3p1-1_i386.deb 8. dpkg -i openssh-server_5.3p1-1_i386.deb Which produced this: dpkg: dependency problems prevent configuration of openssh-server: openssh-server depends on libc6 (>= 2.8); however: Version of libc6 on system is 2.7-18. openssh-server depends on libgssapi-krb5-2 (>= 1.7dfsg~beta1); however: Package libgssapi-krb5-2 is not installed. openssh-server depends on libk5crypto3 (>= 1.6.dfsg.2); however: Package libk5crypto3 is not installed. openssh-server depends on libkrb5-3 (>= 1.6.dfsg.2); however: Package libkrb5-3 is not installed. openssh-server depends on libssl0.9.8 (>= 0.9.8k-1); however: Version of libssl0.9.8 on system is 0.9.8g-15+lenny5. openssh-server depends on openssh-client (= 1:5.3p1-1); however: Version of openssh-client on system is 1:5.1p1-5. dpkg: error processing openssh-server (--install): dependency problems - leaving unconfigured I assumed dpkg didn't actually do anything, but i guess it must've done something. When i came home i couldn't log in again. Fortunately my host's reachable by phone, we scheduled a reboot. Didn't work, i wasn't even getting error messages again, just connection refused[1], on both ports, by the new version. They opened console through vnc, i ran some updates, upgrades, purges and what not and it's back working again, with the old version. And it still shows its damn string. Btw why does openssh-server depends on openssh-client? Anyway thanks for the tips. [1] http://pastebin.com/m35b138b9 -- () ascii-rubanda kampajno - kontraŭ html-a retpoŝto /\ ascii ribbon campaign - against html e-mail -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/6b1504c41002200736o7f4d031ct93f4d607da80c...@mail.gmail.com