hullarb / ssheasy

ssh, sftp client running in the browser powered by golang and wasm
232 stars 47 forks source link

SSH Key Support #18

Open justingoldberg opened 8 months ago

justingoldberg commented 8 months ago

My private key is unencrypted. It is loaded automatically in a MacOS zsh shell via this entry in .zshrc:

_ssh-add -q ~/.ssh/idrsa

Here is my ssh config sample:


## Global host options
Host *
    ServerAliveInterval 120
    ServerAliveCountMax 2
    Compression yes
    MACS  hmac-sha2-512,hmac-sha1
    ForwardAgent yes
    StrictHostKeyChecking no
    HostkeyAlgorithms +ssh-rsa,ssh-dss
    KexAlgorithms +diffie-hellman-group1-sha1
    PubkeyAcceptedKeyTypes +ssh-rsa,ssh-dss
    StrictHostKeyChecking no

Host    ud11                 
    Hostname 10.122.85.22 
        ForwardAgent yes
        IdentityFile ~/.ssh/id_rsa
        User justin
        HostkeyAlgorithms +ssh-rsa,ssh-dss
        KexAlgorithms +diffie-hellman-group1-sha1
        PubkeyAcceptedKeyTypes +ssh-rsa,ssh-dss
        StrictHostKeyChecking no

This host is on the office LAN and is reachable via a VPN and I am it works via command line SSH: _OpenSSH9.0p1, LibreSSL 3.3.6

I get this error: cannot connect to host: dial tcp 10.122.85.22 :22: i/o timeout

justingoldberg commented 8 months ago

It turns out that the public keys on these servers are outdated. I will report back later.

hullarb commented 8 months ago

are you hosting ssheasy yourself in that private network? if not and you tried ssyeasy.com that would not work with private network sshweasy.com servers needs to be able to access the target host