Actions

SSH

From Whonix

Ambox warning pn.svg.png Documentation for this is incomplete. Contributions are happily considered!

SSH is a core tool in a sysadmin's arsenal. It is mainly used to remotely control a machine.

Use stronger ssh keys.

ssh-keygen -t ed25519

Prefer SSH servers available through a Tor Onion Service for stronger encryption and authentication. Consider using Onions Services Authentication. Tor also provides NAT hole-punching so you don't need to register with a DNS service nor open up your LAN to outside access. If the server is known to the public (non-hidden) one could use single Tor hops for the server, see Non Anonymous Onion Encryption and NAT Traversal.

Any references to SSH breaks in the Snowden archives applied to some outdated ciphers.

This has since been addressed by hardened OpenSSH settings (which are included in Whonix ™) and upstream disabling vulnerable algorithms.[1][2]

mosh might be useful, however since it requires UDP, using it over Tor is non-trivial, see Tunnel UDP over Tor.

Beware of keyboard keystroke and computer mouse based deanonymization as explained under Surfing Posting Blogging.

Can be combined with Two-factor authentication 2FA (undocumented).

Configuration SSH servers to listen on non-default ports reduces noise (automated hacking attempts) as well might increase security from lesser skilled attackers.

Whonix forum discussion:
https://forums.whonix.org/t/locking-down-your-ssh-client/7896

Footnotes[edit]


No user support in comments. See Support. Comments will be deleted after some time. Specifically after comments have been addressed in form of wiki enhancements. See Wiki Comments Policy.


Add your comment
Whonix welcomes all comments. If you do not want to be anonymous, register or log in. It is free.


Random News:

Please contribute by helping to answer Whonix questions.


https | (forcing) onion

Follow: Twitter | Facebook | gab.ai | Stay Tuned | Whonix News

Share: Twitter | Facebook

This is a wiki. Want to improve this page? Help is welcome and volunteer contributions are happily considered! Read, understand and agree to Conditions for Contributions to Whonix ™, then Edit! Edits are held for moderation.

Copyright (C) 2012 - 2019 ENCRYPTED SUPPORT LP. Whonix ™ is a trademark. Whonix ™ is a licensee of the Open Invention Network. Unless otherwise noted, the content of this page is copyrighted and licensed under the same Freedom Software license as Whonix ™ itself. (Why?)

Whonix ™ is a derivative of and not affiliated with Debian. Debian is a registered trademark owned by Software in the Public Interest, Inc.

Whonix ™ is produced independently from the Tor® anonymity software and carries no guarantee from The Tor Project about quality, suitability or anything else.

By using our website, you acknowledge that you have read, understood and agreed to our Privacy Policy, Cookie Policy, Terms of Service, and E-Sign Consent. Whonix ™ is provided by ENCRYPTED SUPPORT LP. See Imprint.