This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
computing:linux:ssh [2012/03/07 16:24] gcooper |
computing:linux:ssh [2018/01/15 11:57] (current) gcooper |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== SSH ====== | ====== SSH ====== | ||
- | ===== Set Up SSH Keys ===== | + | See also **[[computing: |
- | + | ||
- | See [[computing: | + | |
===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
+ | |||
+ | Verbose: | ||
< | < | ||
ssh -v ... | ssh -v ... | ||
+ | </ | ||
+ | |||
+ | Modify the MTU on your remote workstation PC to eliminate fragmentation (MTU mismatch): | ||
+ | |||
+ | < | ||
+ | ifconfig eth0 mtu 576 | ||
</ | </ | ||
Line 28: | Line 34: | ||
< | < | ||
- | chmod 600 /home/gcooper/ | + | chmod 600 /home/username/ |
+ | </ | ||
+ | |||
+ | ==== Unknown Terminal Type ==== | ||
+ | |||
+ | If you get an error message " | ||
+ | |||
+ | < | ||
+ | TERM=xterm-color ssh -l username remote.host.name | ||
</ | </ | ||
Line 41: | Line 55: | ||
service sshd restart | service sshd restart | ||
+ | </ | ||
+ | |||
+ | ==== Additional for EL7 ==== | ||
+ | |||
+ | Install '' | ||
+ | |||
+ | < | ||
+ | sudo yum install policycoreutils-python | ||
+ | |||
+ | semanage port -a -t ssh_port_t -p tcp 2222 | ||
</ | </ | ||