Ssh tunnel - suppress console output?



  • I have a user setup to have only ssh tunnel privledges, which works just fine - but there are a lot of useless messages dumped to the screen - is there any way to supress these messages?

    user initially gets this message when logging in, which is expected

    This login only supports SSH tunneling.
    

    as time goes on being connected, these messages start to show up…

    Message from syslogd@gateway at Sep 19 18:43:53 ...
    gateway php-fpm: /index.php: Successful login for user '[username]' from: [ip address]
    channel 32: open failed: administratively prohibited: open failed
    channel 43: open failed: administratively prohibited: open failed
    channel 31: open failed: connect failed: Operation timed out
    channel 42: open failed: connect failed: Operation timed out
    channel 16: open failed: connect failed: Operation timed out
    channel 31: open failed: administratively prohibited: open failed
    channel 43: open failed: administratively prohibited: open failed
    channel 30: open failed: connect failed: Operation timed out
    channel 42: open failed: connect failed: Operation timed out
    

Log in to reply