UMIACS Servers: Difference between revisions

Line 97: Line 97:
squeue
squeue
</pre>
</pre>
===SFTP===
Note: If you know of an easier way, please tell me.
On your PC 
Start an sshd for forwarding. You can do this in a docker container for privacy purposes.
On the cluster: 
Generate an sshd host key:
<pre>
ssh-keygen -t ed25519 -a 100 -f /nfshomes/dli7319/ssh/ssh_host_ed25519_key
</pre>
Create the following <code>sshd_config</code> file
<pre>
# $OpenBSD: sshd_config,v 1.103 2018/04/09 20:41:22 tj Exp $
Port 5981
HostKey /nfshomes/dli7319/ssh/ssh_host_ed25519_key
AuthorizedKeysFile .ssh/authorized_keys
Subsystem sftp /usr/libexec/openssh/sftp-server
</pre>
Start the sshd daemon and proxy the port to your local sshd
On your PC: 
Proxy the sshd from the local docker to your localhost. 
Connect to the the sshd on the cluster


==<code>.bashrc</code>==
==<code>.bashrc</code>==