access
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
access [2023/04/21 10:54] – [Filezilla] olivier | access [2025/03/10 10:51] (current) – [Computer Access] olivier | ||
---|---|---|---|
Line 13: | Line 13: | ||
Once connected to the server, you will be presented with a Linux command line. If unfamiliar with the Linux environment, | Once connected to the server, you will be presented with a Linux command line. If unfamiliar with the Linux environment, | ||
+ | To use Key access, refer to the following page: [[access: | ||
==== Private servers ==== | ==== Private servers ==== | ||
- | Some CIM computers are on a private (internal) McGill vlan (10.69.54.1/23). These servers cannot be access | + | Some CIM computers are on a private (internal) McGill vlan (10.69.54.0/23). These servers cannot be accessed |
+ | The command to connect to a private CIM computer is: | ||
< | < | ||
ssh -j < | ssh -j < | ||
</ | </ | ||
+ | |||
+ | As more people will be using jump hosts to access CIM resources, we are creating multiple publicly accessible jump hosts to help spread the load. The following jump hosts are available for use by CIM members: | ||
+ | |||
+ | * **cow.cim.mcgill.ca** | ||
+ | * **pig.cim.mcgill.ca** | ||
Line 49: | Line 55: | ||
It is also possible to define an ssh jump host to the scp commands by adding '' | It is also possible to define an ssh jump host to the scp commands by adding '' | ||
+ | |||
+ | ==== sshfs ==== | ||
+ | To mount directories with sshfs, while going through a jump host, the following command can be used: | ||
+ | < | ||
+ | sshfs -o ProxyJump=< | ||
+ | </ | ||
+ | |||
+ | If you prefer defining the jump host in your ssh_config file for more convenient access, you should specify the jump host and the target hostname separately, as such: | ||
+ | |||
+ | < | ||
+ | Host barn | ||
+ | HostName barn.cim.mcgill.ca | ||
+ | User < | ||
+ | |||
+ | Host < | ||
+ | HostName < | ||
+ | ProxyJump barn | ||
+ | User < | ||
+ | </ | ||
+ | |||
+ | You can then use the following command to mount remote directories: | ||
+ | |||
+ | < | ||
+ | sshfs < | ||
+ | </ | ||
==== Filezilla ==== | ==== Filezilla ==== | ||
A more intuitive way to access your files is to use a file transfer client such as [[https:// | A more intuitive way to access your files is to use a file transfer client such as [[https:// | ||
- | To configure a connection to the CIM server | + | To configure a connection to the CIM server, you'll have to define a new connection by navigating to '' |
+ | |||
+ | {{ :: | ||
+ | |||
+ | Set the protocol to '' | ||
+ | |||
+ | |||
+ | ===== Sudo on CIM Workstations ===== | ||
+ | |||
+ | > "With great power comes great responsibility..." | ||
+ | |||
+ | > "God, root, what is difference?" | ||
+ | |||
+ | Generally speaking, users do not have sudo/root access on CIM workstations. This is because, unlike Windows or MacOS, Linux gives much more power to the user. Windows will give you warnings and/or prevent you from erasing critical system files, whereas if you use sudo carelessly, Linux will delete the running kernel without so much as a warning. | ||
+ | |||
+ | Things to consider as a user with sudo: | ||
+ | * sudo is the same as root which is the same as administrator. | ||
+ | * sudo can be used to break your system. If you share your system with other users, you can/will break the system for them too. | ||
+ | * If in doubt, ask us before trying something. Some things on CIM systems are done for a reason, or are configured in a specific way. There is often a reason for this. | ||
- | '' |
access.1682088897.txt.gz · Last modified: 2023/04/21 10:54 by olivier