Por que o Autossh funciona no Ubuntu, mas não no Antergos?

0

Estou me aventurando além do Ubuntu pela primeira vez e escolhi o Antergos para facilitar meu caminho para o mundo mais amplo do Linux. Tudo está indo bem e o pacman está se tornando familiar, mas o autossh parece estar tendo um problema:

Em Antergos:

[tbrowne@redbrix1 ~]$ autossh -p 52222 [email protected]
usage: autossh [-V] [-M monitor_port[:echo_port]] [-f] [SSH_OPTIONS]

    -M specifies monitor port. May be overridden by environment
       variable AUTOSSH_PORT. 0 turns monitoring loop off.
       Alternatively, a port for an echo service on the remote
       machine may be specified. (Normally port 7.)
    -f run in background (autossh handles this, and does not
       pass it to ssh.)
    -V print autossh version and exit.

Environment variables are:
    AUTOSSH_GATETIME    - how long must an ssh session be established
                          before we decide it really was established
                          (in seconds). Default is 30 seconds; use of -f
                          flag sets this to 0.
    AUTOSSH_LOGFILE     - file to log to (default is to use the syslog
                          facility)
    AUTOSSH_LOGLEVEL    - level of log verbosity
    AUTOSSH_MAXLIFETIME - set the maximum time to live (seconds)
    AUTOSSH_MAXSTART    - max times to restart (default is no limit)
    AUTOSSH_MESSAGE     - message to append to echo string (max 64 bytes)
    AUTOSSH_PATH        - path to ssh if not default
    AUTOSSH_PIDFILE     - write pid to this file
    AUTOSSH_POLL        - how often to check the connection (seconds)
    AUTOSSH_FIRST_POLL  - time before first connection check (seconds)
    AUTOSSH_PORT        - port to use for monitor connection
    AUTOSSH_DEBUG       - turn logging to maximum verbosity and log to
                          stderr

[tbrowne@redbrix1 ~]$ 

No Ubuntu 16.04:

tbrowne@calculon:~$ autossh -p 52222 [email protected]
  ____      _     _      _                   _    
 / ___|   _| |__ (_) ___| |_ _ __ _   _  ___| | __
| |  | | | | '_ \| |/ _ \ __| '__| | | |/ __| |/ /
| |__| |_| | |_) | |  __/ |_| |  | |_| | (__|   < 
 \____\__,_|_.__/|_|\___|\__|_|   \__,_|\___|_|\_\


Welcome to ARMBIAN 5.31 stable Debian GNU/Linux 8 (jessie) 4.11.6-sunxi   
System load:   0.05 0.05 0.01   Up time:       1 day        
Memory usage:  17 % of 2012MB   IP:            192.168.1.192
CPU temp:      37°C             HDD temp:      30°C             
Usage of /:    7% of 110G       storage/:      7% of 110G       

[ 0 security updates available, 2 updates total: apt upgrade ]
Last check: 2017-08-30 00:00

[ General system configuration: armbian-config ]
Last login: Wed Aug 30 15:21:31 2017 from 83-244-211-54.cust-83.exponential-e.net
                    ____
      ___======____=---=)
    /T            \_--===)
    [ \ (0)   \~    \_-==)
     \      / )J~~    \-=)
      \___/  )JJ~~~   \)
       \_____/JJJ~~~~    \
       / \  , \J~~~~~     \
      (-\)\=|\\~~~~       L__
      (\)  (\\)_           \==__
       \V    \\) ===_____   \\\
              \V)     \_) \\JJ\J\)
                          /J\JT\JJJJ)
                          (JJJ| \UUU)
                           (UU)
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
tbrowne@cubietruck ~> 

Eu quero usar o autossh para criar uma porta reversa para a frente, mas parece que há um erro de sintaxe sempre que eu tento qualquer coisa com ele.

Estou usando o autossh 1.4e em ambos. Plain old (não auto) ssh funciona bem em ambos. O que está acontecendo?

    
por Thomas Browne 30.08.2017 / 15:26

0 respostas