Skip password and Duo prompts when connecting to webdev.cs.umt.edu
SSH keys allow you to connect to the server without entering your password and Duo authentication every time. This is especially useful when using FileZilla or other SFTP clients that open multiple connections.
On your Windows 11 computer:
Windows + XFirst, check if you already have an SSH key:
ls ~/.ssh/id_ed25519.pub
If you see your key file listed: Great! Skip to Step 3 — you already have a key.
If you see "Cannot find path" or an error: Generate a new key by running:
ssh-keygen -t ed25519
You'll see the following prompts:
Enter to accept the default locationEnter for no passphrase (or enter one for extra security)Enter againC:\Users\YourName\.ssh\id_ed25519C:\Users\YourName\.ssh\id_ed25519.pubRun this command in PowerShell (replace your-netid with your actual NetID):
type $env:USERPROFILE\.ssh\id_ed25519.pub | ssh your-netid@webdev.cs.umt.edu "mkdir -p ~/.ssh && chmod 700 ~/.ssh && cat >> ~/.ssh/authorized_keys && chmod 600 ~/.ssh/authorized_keys"
You'll need to enter your password and complete Duo authentication one last time.
Try connecting to the server:
ssh your-netid@webdev.cs.umt.edu
To use your SSH key with FileZilla:
C:\Users\YourName\.ssh\id_ed25519 (the private key, not the .pub file)Now set up your site connection:
Still being asked for a password?
ssh your-netid@webdev.cs.umt.edu "ls -la ~/.ssh"
The .ssh directory should be 700 and authorized_keys should be 600
FileZilla still prompting for credentials?