tag:blogger.com,1999:blog-5188121942175615593.post8833443270714733673..comments2024-03-04T00:07:43.004+11:00Comments on Lindqvist -- a blog about Linux and Science. Mostly.: 299. Briefly: Start autossh at boot on debian testing/wheezylindqvisthttp://www.blogger.com/profile/11525548328692436184noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-5188121942175615593.post-70439079510674272842016-10-19T23:18:11.324+11:002016-10-19T23:18:11.324+11:00Very nice, I was just about to give up for a few h...Very nice, I was just about to give up for a few hours and BAM you solved my problem. Thank You..<br /><br />su user -c worked like a charm..Anonymoushttps://www.blogger.com/profile/04040186688658056641noreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-36656567183507597312016-04-08T02:18:18.723+10:002016-04-08T02:18:18.723+10:00Thank you, that was helpful! Do I need to use su b...Thank you, that was helpful! Do I need to use su because of keys storage in user's home?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-88793728934774984032015-08-21T23:05:11.736+10:002015-08-21T23:05:11.736+10:00su lindqvist -c '' runs the command in ...su lindqvist -c '' runs the command in '' as user lindqvist. Otherwise it'd be run as root.lindqvisthttps://www.blogger.com/profile/11525548328692436184noreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-52303693679069951392015-08-21T01:24:46.483+10:002015-08-21T01:24:46.483+10:00Why is su -c needed? adding it made things work fo...Why is su -c needed? adding it made things work for me but I dont understand why it has to be thereAnonymoushttps://www.blogger.com/profile/10939684903919933929noreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-49500105272022610962015-06-15T17:58:15.492+10:002015-06-15T17:58:15.492+10:00Thank you. Now it's working for me to.Thank you. Now it's working for me to.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-5188121942175615593.post-83626784807568119202014-07-16T11:02:55.672+10:002014-07-16T11:02:55.672+10:00Thank you, I spent about 4 hours trying to make rc...Thank you, I spent about 4 hours trying to make rc.local work on my raspberry pi with autossh. Logging in as a user instead of doing it on root with the "su user -c '' & did the trick for me.Anonymousnoreply@blogger.com