Hello Toasters,
What's the easiest way to fix these ssh related errors reported by the filers?
[sshd_0:info]: Postponed publickey for <user> from <client> port 47309ssh2
and also these related ones:
[ems.engine.inputSuppress:warning]: Event 'openssh.invalid.channel.req' suppressed xxx times since [openssh.invalid.channel.req:warning]: SSH client (SSH-2.0-OpenSSH_4.3) from <client> sent unsupported channel request (10, env).
NOW wasn't much help here.
thanks in advance
-net
On 2011 Jul 2, at 3:22 , Sto Rage© wrote:
What's the easiest way to fix these ssh related errors reported by the filers?
[sshd_0:info]: Postponed publickey for <user> from <client> port 47309ssh2
No idea, never saw that error before. We exclusively use public keys to login on the filers, aren't you?
'openssh.invalid.channel.req' suppressed xxx times since [openssh.invalid.channel.req:warning]: SSH client (SSH-2.0-OpenSSH_4.3) from <client> sent unsupported channel request (10, env).
Ah, your ssh client is trying to send environment variables (see SendEnv in man ssh_config(5)). The filer doesn't know how to handle that. The ssh default is not to send environment vars, but some distributions supply a system-wide /etc/ssh/ssh_config that includes, eg, "SendEnv LANG LC_*" (Debian, ubuntu).
The solution is to override that. There is no 'NoSendEnv' in ssh, but it's easy not to send an environment variable by supplying a non-existing env var. So, put this in your ~/.ssh/config:
Host MyToaster SendEnv THISENVVARDOESNTEXIST
HTH,
Thanks to all who replied. The host causing this issue is a Solaris 10 box. The ssh_config is all commented out. Adding the SendEnv line causes an error
/etc/ssh/ssh_config: line 36: Bad configuration option: SendEnv /etc/ssh/ssh_config: terminating, 1 bad configuration options
SunOS uxfs01 5.10 Generic_142900-03 sun4v sparc SUNW,SPARC-Enterprise-T5220 Solaris
cat /etc/ssh/ssh_config "/etc/ssh/ssh_config" 34 lines, 1046 characters # Copyright (c) 2001 by Sun Microsystems, Inc. # All rights reserved. # # ident "@(#)ssh_config 1.2 01/10/08 SMI" # # This file provides defaults for ssh(1). # The values can be changed in per-user configuration files $HOME/.ssh/config # or on the command line of ssh(1).
# Configuration data is parsed as follows: # 1. command line options # 2. user-specific file # 3. system-wide file /etc/ssh/ssh_config # # Any configuration value is only changed the first time it is set. # host-specific definitions should be at the beginning of the # configuration file, and defaults at the end.
# Example (matches compiled in defaults): # # Host * # ForwardAgent no # ForwardX11 no # PubkeyAuthentication yes # PasswordAuthentication yes # FallBackToRsh no # UseRsh no # BatchMode no # CheckHostIP yes # StrictHostKeyChecking ask # EscapeChar ~ # SendEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES # SendEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT # SendEnv LC_IDENTIFICATION LC_ALL