Shell account tutorial: Difference between revisions

imported>Echarlie
imported>Echarlie
 
(9 intermediate revisions by 2 users not shown)
Line 9: Line 9:


The ECE2524 VM (128.173.88.125) can be accessed via SSH for CVL users, and has tmux, mosh, and weechat installed. The
The ECE2524 VM (128.173.88.125) can be accessed via SSH for CVL users, and has tmux, mosh, and weechat installed. The
[[gp:CAD and Visualization Laboratory|CVL]] does ''not'' have any IRC clients installed, but is useful for general computing (e.g. [[MATLAB]]).
[[gp:CAD and Visualization Laboratory|CVL]] is also useful for general computing (e.g. [[MATLAB]]).


== Acidburn ==
== Acidburn ==


Acidburn (acidburn.vtluug.org), the VTLUUG shell server, has a few more IRC clients installed, as well as other software <s>and full IPv6 support</s>.
Acidburn (acidburn.vtluug.org), the VTLUUG shell server, has a few more IRC clients installed, as well as other software and <s>full</s> partial IPv6 support. Because of new restrictions on SSH access (all of port 22 is blocked for off-campus users, although we ''shouldn't'' be blocked), Acidburn can be accessed at port 2222.
 
We strongly recommend setting permissions of '''all''' files on your acidburn home directory to 600, except for a public_html/ directory.


== Basic Usage ==
== Basic Usage ==
Line 32: Line 34:
#* ''Use this whenever you are inside a tmux window and wish to return to a shell''
#* ''Use this whenever you are inside a tmux window and wish to return to a shell''
# To, reattach to the first tmux seesion, just use <code>tmux attach</code>
# To, reattach to the first tmux seesion, just use <code>tmux attach</code>
#* <code>user@ece2524:~$ tmux attach</code>.  
#* <code>user@ece2524:~$ tmux attach -d</code>.  
#* ''On subsequent logins, this should be the only command you need to execute to return to IRC''
#* ''On subsequent logins, this should be the only command you need to execute to return to IRC''


Line 52: Line 54:
* Ctrl-D is the universal "end-of-file" command, and can be used to logout of shells
* Ctrl-D is the universal "end-of-file" command, and can be used to logout of shells
* Ctrl-C is the universal interrupt command, and can be used to kill running terminal jobs and clear your currently-typed command (rather than holding down backspace).
* Ctrl-C is the universal interrupt command, and can be used to kill running terminal jobs and clear your currently-typed command (rather than holding down backspace).
* Ctrl-Z can be used to pause processes, then fg or bg can be used to restart it in the foreground or background, respectively


==Troubleshooting==
==Troubleshooting==
Line 58: Line 61:
* You (or someone using your IP address) have had too many failed login attempts, and fail2ban or a similar utility has banned you for a period of time, typically a week or so.  
* You (or someone using your IP address) have had too many failed login attempts, and fail2ban or a similar utility has banned you for a period of time, typically a week or so.  
** This is easy to identify because ssh fails ''before'' you are prompted for a password.
** This is easy to identify because ssh fails ''before'' you are prompted for a password.
** If this happened on a CVL machine, try connecting to a different node like <code>ssh pid@cvl10.ece.vt.edu</code>
** If this happened on a CVL machine, try connecting to a different node like <code>$ ssh pid@cvl10.ece.vt.edu</code>
 
== See Also ==
 
* [[WeeChat]]
* [[Irssi]]


==External Links==
==External Links==