SSH a una stazione remota senza port forwarding sul mio mac

1

Vorrei installare SSH su un computer Linux remoto da Internet a scuola, che non supporta il port forwarding.

I digita ssh root@<myipadresshere.com

ma ovviamente fallisce.

C'è un modo per SSH sul mio server remoto usando qualsiasi rete a cui sono connesso senza che le porte vengano inoltrate?

Se digito SSH -A root @ MyIP, scade.

Skylers-MacBook-Pro:~ skylerfennell$ ssh -vvv [email protected]
OpenSSH_5.9p1, OpenSSL 0.9.8y 5 Feb 2013
debug1: Reading configuration data /etc/ssh_config
debug1: /etc/ssh_config line 20: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to kd0whb.duckdns.org [67.166.55.176] port 22.
debug1: Connection established.
debug1: identity file /Users/skylerfennell/.ssh/id_rsa type -1
debug1: identity file /Users/skylerfennell/.ssh/id_rsa-cert type -1
debug1: identity file /Users/skylerfennell/.ssh/id_dsa type -1
debug1: identity file /Users/skylerfennell/.ssh/id_dsa-cert type -1
debug1: Remote protocol version 2.0, remote software version OpenSSH_4.3
debug1: match: OpenSSH_4.3 pat OpenSSH_4*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.9
debug2: fd 3 setting O_NONBLOCK
debug3: load_hostkeys: loading entries for host "kd0whb.duckdns.org" from file "/Users/skylerfennell/.ssh/known_hosts"
debug3: load_hostkeys: found key type RSA in file /Users/skylerfennell/.ssh/known_hosts:6
debug3: load_hostkeys: loaded 1 keys
debug3: order_hostkeyalgs: prefer hostkeyalgs: [email protected],[email protected],ssh-rsa
debug1: SSH2_MSG_KEXINIT sent
Write failed: Broken pipe


Skylers-MacBook-Pro:~ skylerfennell$ ssh -a [email protected]
    ssh: connect to host kd0whb.duckdns.org port 22: Operation timed out
    
posta Skyler 440 05.09.2014 - 17:33
fonte

1 risposta

1

ti stai riferendo al port forwarding o al forwarding dell'agente? Per impostazione predefinita, il port forwarding non è abilitato a meno che non si utilizzino le opzioni -L o -R.

L'inoltro di agenti (per l'autenticazione tramite chiavi nel tuo ssh-agent locale) può essere abilitato usando

ssh -A <user>@<host>

Fammi sapere se è utile.

    
risposta data 05.09.2014 - 17:45
fonte

Leggi altre domande sui tag