Come connettersi al sistema linux con ssh da mac tramite connessione proxy?

1

Da un paio di giorni, ho cercato di connettermi a un sistema Linux da dietro un proxy. Ho provato questi collegamenti ( link1 , link2 , link3 ), ma non ha aiutato.

Supponiamo che il mio indirizzo proxy sia: proxy-address:8080 e il mio indirizzo ssh è user@ssh_address così per connettere user@ssh_address Ho scritto quanto segue nel mio .ssh / config:

Host    ssh-proxy # aliasing because I don't want to commute between changes when not connecting from behind the proxy.
        HostName                user@ssh_address 
        ProxyCommand            nc -X connect -x proxy-address:8080 %h %p 
                                # Also tried with corkscrew proxy-address 8080 %h %p
        ServerAliveInterval     10 

e whey Eseguo $ ssh ssh-proxy mi dà il seguente errore:

Il proxy non ha potuto aprire la connessione a user@ssh_address : Errore proxy (la porta SSL (Secure Sockets Layer) specificata non è consentita.) Forefront TMG non è configurato per consentire alle richieste SSL dalla maggior parte dei browser Web di utilizzare la porta 443 per le richieste SSL.) ssh_exchange_identification: connessione chiusa dall'host remoto.

Un output dettagliato è il seguente:

OpenSSH_7.6p1, LibreSSL 2.6.2
debug1: Reading configuration data /Users/user_name/.ssh/config
debug1: /Users/user_name/.ssh/config line 1: Applying options for ssh-proxy
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 48: Applying options for *
debug1: Executing proxy command: exec corkscrew proxy-address 8080 user@ssh_address 22
debug1: permanently_drop_suid: 501
debug1: identity file /Users/user_name/.ssh/id_rsa type 0
debug1: key_load_public: No such file or directory
debug1: identity file /Users/user_name/.ssh/id_rsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/user_name/.ssh/id_dsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/user_name/.ssh/id_dsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/user_name/.ssh/id_ecdsa type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/user_name/.ssh/id_ecdsa-cert type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/user_name/.ssh/id_ed25519 type -1
debug1: key_load_public: No such file or directory
debug1: identity file /Users/user_name/.ssh/id_ed25519-cert type -1
debug1: Local version string SSH-2.0-OpenSSH_7.6

Il proxy non ha potuto aprire la connessione a user@ssh_address : Errore proxy (la porta SSL (Secure Sockets Layer) specificata non è consentita.) Forefront TMG non è configurato per consentire alle richieste SSL dalla maggior parte dei browser Web di utilizzare la porta 443 per le richieste SSL.) ssh_exchange_identification: connessione chiusa dall'host remoto.

Sto postando qui per ricevere aiuto da un utente nativo. Si prega di suggerire cos'altro posso provare?

    
posta zeal 20.03.2018 - 17:26
fonte

0 risposte

Leggi altre domande sui tag