Thread: [Fremantle Maemo5] [Announce] OpenSSH status widget
View Single Post
Posts: 638 | Thanked: 1,692 times | Joined on Aug 2009
#93
@rasmarc
thank you for looking into this feature and problem.
Anyway, while your are partially right since the problem is not in fact with the sshd creating the nohup.out file, the real trouble is with the use of nohup in general.

Now, every time you run "ssh HOST" your receive a message "..appending to nohup.out" and a file nohup.out will be created in the folder where you are.
After some time this will result in a filesystem filled of nohup.out files leaved there in any folder where you were positioned while starting an ssh session.

Then, if you are in the /home/user folder and as root you run "ssh HOST" you will leave there a nohup file owned by root.

All this to explain why the nohup approach is not a good idea, especially if you don't use a temporary folder somewhere in /tmp to leave the output files.

After this complaints thank you for this applet, i think is very useful for who, like me spends his life over ssh.
 

The Following User Says Thank You to xes For This Useful Post: