Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
student:stu:basics [2020/03/20 13:33] – old revision restored (2020/03/20 13:32) morrispj | student:stu:basics [2023/01/25 22:53] – [Transferring Files to and From stu] link to steps for sftp stewarmc | ||
---|---|---|---|
Line 19: | Line 19: | ||
^ Room ^ Hostname Range ^ | ^ Room ^ Hostname Range ^ | ||
- | | ISAT/ | + | | ISAT/ |
- | | ISAT/CS 243 | L248{01..32}.cs.jmu.edu | | + | |
- | | ISAT/CS 246 | L246{96..99}.cs.jmu.edu | | + | |
| ISAT/CS 250 | L250{01..33}.cs.jmu.edu | | | ISAT/CS 250 | L250{01..33}.cs.jmu.edu | | ||
+ | | ENGEO 2204 | L2204{01..32}.cs.jmu.edu | ||
This can be simplified by using the '' | This can be simplified by using the '' | ||
ssh -J < | ssh -J < | ||
+ | |||
+ | You can do this transparently by adding the following to your ~/ | ||
+ | |||
+ | Match !host stu.cs.jmu.edu host *.cs.jmu.edu !exec "nc -z -w 1 %h %p" | ||
+ | ProxyJump stu.cs.jmu.edu | ||
+ | |||
+ | This uses netcat to determine if you can connect directly to the host and if not, for all .cs.jmu.edu hosts other than stu, jump through stu. Connecting to a lab machine with this configuration is the same from on or off campus: '' | ||
Setting up keypairs is highly recommended if you're doing this regularly to avoid multiple password prompts. | Setting up keypairs is highly recommended if you're doing this regularly to avoid multiple password prompts. | ||
==== Transferring Files to and From stu ==== | ==== Transferring Files to and From stu ==== | ||
- | You can transfer files to " | + | You can transfer files to " |
- | If you want a more seamless experience or the ability to edit files on " | + | If you want a more seamless experience or the ability to edit files on " |
==== Using stu as an HTTP Server ==== | ==== Using stu as an HTTP Server ==== |