IWETHEY v. 0.3.0 | TODO
1,095 registered users | 0 active users | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Stupid Sysadmin tricks
setup chroot for ssh, make the directories, modify the sshd2_config files and stop and start the sshd, what happens after the stop command if you aint at the console. AAAHHF!!!!!!HFDHSKHFSO!!!!!!!SOI^$)$%&*+%*_@u()n!!!!!


thanx,
bill
TAM ARIS QUAM ARMIPOTENS
New heh
/etc/rc.d/init.d/sshd restart

Relogin after your connection dies.

:)
-YendorMike

Real programmers use "vi a.out".
New /etc/rc2.d/S77sshd no restart, stop start :)
TAM ARIS QUAM ARMIPOTENS
New Use the shell.
/etc/rc2.d/S77sshd stop ; /etc/rc2.d/S77sshd start

Wade.

"All around me are nothing but fakes
Come with me on the biggest fake of all!"

New how do you do the second after you do the first ? :)
TAM ARIS QUAM ARMIPOTENS
New sorry long night
sshd is restarted but will only allow one session. The second ssh connection is refused. Any ideas?
thanx,
Bill
TAM ARIS QUAM ARMIPOTENS
New Eh?
*scratches head* Did you reply to the right post? My suggestion was to enter it all on one line, press Enter, get thrown off, reconnect. *shrug* Doesn't it work? I submit you might have a faulty sshd if you're still having problems.

Wade.

"All around me are nothing but fakes
Come with me on the biggest fake of all!"

New Install Debian
ssh clients aren't killed on daemon restart.

Barring that, run Wade's trick, but within a 'screen' session, or as a 'batch' job, so that the controlling process doesn't die when your ssh session does.
--
Karsten M. Self [link|mailto:kmself@ix.netcom.com|kmself@ix.netcom.com]
[link|http://kmself.home.netcom.com/|[link|http://kmself.home.netcom.com/|http://kmself.home.netcom.com/]]
What part of "gestalt" don't you understand?

   Keep software free.     Oppose the CBDTPA.     Kill S.2048 dead.
[link|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html|[link|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html|http://www.eff.org/...a_alert.html]]
New or ...
Any sshd for that matter.

You can change the configs to not have it do that.

Of course you know, this means you have make the "changes" before you go remote... ;)

greg, curley95@attbi.com -- REMEMBER ED CURRY!!!

Keep software free. Oppose the CBDTPA. Kill S.2048 dead.
[link|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html|[link|http://www.eff.org/alerts/20020322_eff_cbdtpa_alert.html|http://www.eff.org/...a_alert.html]]
New Re: Stupid Sysadmin tricks
Actually, more or less nothing happened to me.
The login stayed alive.

I think ssh spawns a login shell, and then the shell runs by itself.
     Stupid Sysadmin tricks - (boxley) - (9)
         heh - (Yendor) - (5)
             /etc/rc2.d/S77sshd no restart, stop start :) -NT - (boxley) - (4)
                 Use the shell. - (static) - (3)
                     how do you do the second after you do the first ? :) -NT - (boxley)
                     sorry long night - (boxley) - (1)
                         Eh? - (static)
         Install Debian - (kmself) - (1)
             or ... - (folkert)
         Re: Stupid Sysadmin tricks - (Arkadiy)

Batches? BATCHES?? We don't need no steenkin' batches!
51 ms