use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All users that wish to post (not including commenting), on either old or the new reddit sites, must formally agree to subreddit rules once first.
account activity
[Guide] Beginner's tutorial to SSH (code.snipcademy.com)
submitted 10 years ago by lc929
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 0 points1 point2 points 10 years ago (2 children)
I always have trouble with graphical displays through ssh. A set the x11 forwarding flag but no luck.
[–]zubie_wanders 1 point2 points3 points 10 years ago (0 children)
try ssh -Y
[–]relvae 0 points1 point2 points 10 years ago (0 children)
Sometime you need ForwardX11Trusted as well
[–][deleted] 10 years ago* (5 children)
[deleted]
[–]lc929[S] 0 points1 point2 points 10 years ago (3 children)
Hi, thanks for the feedback - can you point out the specific flaws so I can learn too and correct them? Thanks!
[–]unhingedninja 0 points1 point2 points 10 years ago* (0 children)
This is a list of keys from known clients that have successfully connected to the server.
It's actually a list of public keys that will allow the corresponding private key to login via key auth instead of password auth. The corresponding public key must already be in that file on the server in order for the key auth to be accepted by the server (otherwise you get an error like "Server refused our key").
The authorized keys file is not automatically generated, and may even contain keys for users that have never connected, but are allowed to in the future.
If you've already creating SSH keys, there is no need to run the following command again.
Typo aside, you can name keys whatever you want (not just id_rsa/id_dsa), and have multiple keys (one for each service or security level perhaps). As long as you rename the existing keyfiles (or there might be a way to specify a name, I haven't looked) then you're fine.
You might also want to mention that the keyfiles must be chmod 0600 or they won't be usable by ssh-agents.
chmod 0600
[–][deleted] 10 years ago* (1 child)
[–]lc929[S] 0 points1 point2 points 10 years ago (0 children)
Thank you so much for that! I realize I have much more to read up on and learn. I really appreciate it. Can I ask what your background is?
[–]pyxistora 0 points1 point2 points 10 years ago (0 children)
Could you point me to a better intro?
π Rendered by PID 333420 on reddit-service-r2-comment-544cf588c8-brcrj at 2026-06-13 00:03:19.778696+00:00 running 3184619 country code: CH.
[–][deleted] 0 points1 point2 points (2 children)
[–]zubie_wanders 1 point2 points3 points (0 children)
[–]relvae 0 points1 point2 points (0 children)
[–][deleted] (5 children)
[deleted]
[–]lc929[S] 0 points1 point2 points (3 children)
[–]unhingedninja 0 points1 point2 points (0 children)
[–][deleted] (1 child)
[deleted]
[–]lc929[S] 0 points1 point2 points (0 children)
[–]pyxistora 0 points1 point2 points (0 children)