f



Fedora 14 ssh problem

When I ssh from an F14 box I get a false warning,

connect: Connection refused

The ssh connection is actually made and X forwarding is also working so I 
don't know what this warning is referring to. This is an F14 problem only, 
earlier Fedoras behave normally.

BTW I have selinux disabled, with selinux enabled I wasn't able to ssh out 
of the F14 box after I regenerated the public keys (old keys had been 
working, this behavior occurred after I generated fresh keys. Disabling 
selinux and rebooting fixed the problem).
0
General
10/25/2010 3:20:28 PM
comp.os.linux.misc 33536 articles. 0 followers. amosa69 (78) is leader. Post Follow

2 Replies
990 Views

Similar Articles

[PageSpeed] 43

On 25 Oct 2010 15:20:28 GMT, General Schvantzkoph wrote:
> When I ssh from an F14 box I get a false warning,
>
> connect: Connection refused
>
> The ssh connection is actually made and X forwarding is also working so I 
> don't know what this warning is referring to. This is an F14 problem only, 
> earlier Fedoras behave normally.
 
And,	`ssh -vvv ....` reveals what?

	`man ssh`

Jonesy
-- 
  Marvin L Jones    | jonz          | W3DHJ  | linux
   38.24N  104.55W  |  @ config.com | Jonesy |  OS/2
    * Killfiling google & XXXXbanter.com: jonz.net/ng.htm
0
Allodoxaphobia
10/26/2010 1:43:06 PM
On Tue, 26 Oct 2010 13:43:06 +0000, Allodoxaphobia wrote:

> On 25 Oct 2010 15:20:28 GMT, General Schvantzkoph wrote:
>> When I ssh from an F14 box I get a false warning,
>>
>> connect: Connection refused
>>
>> The ssh connection is actually made and X forwarding is also working so
>> I don't know what this warning is referring to. This is an F14 problem
>> only, earlier Fedoras behave normally.
>  
> And,	`ssh -vvv ....` reveals what?
> 
> 	`man ssh`
> 
> Jonesy

It doesn't reveal anything. The only failures also appear on F13 which 
doesn't display the problem.

OpenSSH_5.5p1, OpenSSL 1.0.0a-fips 1 Jun 2010
debug1: Reading configuration data /home/bjrosen/.ssh/config
debug1: Applying options for *
debug3: cipher ok: arcfour [arcfour,blowfish-cbc,aes128-cbc,aes256-
cbc,aes192-cbc,cast128-cbc,3des-cbc]
debug3: cipher ok: blowfish-cbc [arcfour,blowfish-cbc,aes128-cbc,aes256-
cbc,aes192-cbc,cast128-cbc,3des-cbc]
debug3: cipher ok: aes128-cbc [arcfour,blowfish-cbc,aes128-cbc,aes256-
cbc,aes192-cbc,cast128-cbc,3des-cbc]
debug3: cipher ok: aes256-cbc [arcfour,blowfish-cbc,aes128-cbc,aes256-
cbc,aes192-cbc,cast128-cbc,3des-cbc]
debug3: cipher ok: aes192-cbc [arcfour,blowfish-cbc,aes128-cbc,aes256-
cbc,aes192-cbc,cast128-cbc,3des-cbc]
debug3: cipher ok: cast128-cbc [arcfour,blowfish-cbc,aes128-cbc,aes256-
cbc,aes192-cbc,cast128-cbc,3des-cbc]
debug3: cipher ok: 3des-cbc [arcfour,blowfish-cbc,aes128-cbc,aes256-
cbc,aes192-cbc,cast128-cbc,3des-cbc]
debug3: ciphers ok: [arcfour,blowfish-cbc,aes128-cbc,aes256-cbc,aes192-
cbc,cast128-cbc,3des-cbc]
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to hornet [192.168.1.58] port 22.
debug1: Connection established.
debug3: Not a RSA1 key file /home/bjrosen/.ssh/id_rsa.
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug2: key_type_from_name: unknown key type '-----END'
debug3: key_read: missing keytype
debug1: identity file /home/bjrosen/.ssh/id_rsa type 1
debug1: identity file /home/bjrosen/.ssh/id_rsa-cert type -1
debug1: identity file /home/bjrosen/.ssh/id_dsa type -1
debug1: identity file /home/bjrosen/.ssh/id_dsa-cert type -1
debug1: Remote protocol version 1.99, remote software version OpenSSH_5.4
debug1: match: OpenSSH_5.4 pat OpenSSH*
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_5.5
debug2: fd 3 setting O_NONBLOCK
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-
hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-
group1-sha1
debug2: kex_parse_kexinit: ssh-rsa-cert-v00@openssh.com,ssh-dss-cert-
v00@openssh.com,ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: arcfour,blowfish-cbc,aes128-cbc,aes256-
cbc,aes192-cbc,cast128-cbc,3des-cbc
debug2: kex_parse_kexinit: arcfour,blowfish-cbc,aes128-cbc,aes256-
cbc,aes192-cbc,cast128-cbc,3des-cbc
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-
ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-
ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit: none,zlib@openssh.com,zlib
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: first_kex_follows 0 
debug2: kex_parse_kexinit: reserved 0 
debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-
hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-
group1-sha1
debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-
ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-
cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-
ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-
cbc,aes192-cbc,aes256-cbc,arcfour,rijndael-cbc@lysator.liu.se
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-
ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-
ripemd160,hmac-ripemd160@openssh.com,hmac-sha1-96,hmac-md5-96
debug2: kex_parse_kexinit: none,zlib@openssh.com
debug2: kex_parse_kexinit: none,zlib@openssh.com
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: 
debug2: kex_parse_kexinit: first_kex_follows 0 
debug2: kex_parse_kexinit: reserved 0 
debug2: mac_setup: found hmac-md5
debug1: kex: server->client arcfour hmac-md5 none
debug2: mac_setup: found hmac-md5
debug1: kex: client->server arcfour hmac-md5 none
debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
debug2: dh_gen_key: priv key bits set: 125/256
debug2: bits set: 517/1024
debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
debug3: check_host_in_hostfile: host hornet filename /home/bjrosen/.ssh/
known_hosts
debug3: check_host_in_hostfile: host hornet filename /home/bjrosen/.ssh/
known_hosts
debug3: check_host_in_hostfile: match line 3
debug3: check_host_in_hostfile: host 192.168.1.58 filename /home/
bjrosen/.ssh/known_hosts
debug3: check_host_in_hostfile: host 192.168.1.58 filename /home/
bjrosen/.ssh/known_hosts
debug3: check_host_in_hostfile: match line 3
debug1: Host 'hornet' is known and matches the RSA host key.
debug1: Found key in /home/bjrosen/.ssh/known_hosts:3
debug2: bits set: 513/1024
debug1: ssh_rsa_verify: signature correct
debug2: kex_derive_keys
debug2: set_newkeys: mode 1
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug2: set_newkeys: mode 0
debug1: SSH2_MSG_NEWKEYS received
debug1: Roaming not allowed by server
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug2: service_accept: ssh-userauth
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug2: key: /home/bjrosen/.ssh/id_rsa (0x7f22167a3690)
debug2: key: /home/bjrosen/.ssh/id_dsa ((nil))
debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-
with-mic
debug3: start over, passed a different list publickey,gssapi-keyex,gssapi-
with-mic
debug3: preferred gssapi-with-mic,publickey,keyboard-interactive,password
debug3: authmethod_lookup gssapi-with-mic
debug3: remaining preferred: publickey,keyboard-interactive,password
debug3: authmethod_is_enabled gssapi-with-mic
debug1: Next authentication method: gssapi-with-mic
debug3: Trying to reverse map address 192.168.1.58.
debug1: Unspecified GSS failure.  Minor code may provide more information
Credentials cache file '/tmp/krb5cc_500' not found

debug1: Unspecified GSS failure.  Minor code may provide more information
Credentials cache file '/tmp/krb5cc_500' not found

debug1: Unspecified GSS failure.  Minor code may provide more information


debug2: we did not send a packet, disable method
debug3: authmethod_lookup publickey
debug3: remaining preferred: keyboard-interactive,password
debug3: authmethod_is_enabled publickey
debug1: Next authentication method: publickey
debug1: Offering public key: /home/bjrosen/.ssh/id_rsa
debug3: send_pubkey_test
debug2: we sent a publickey packet, wait for reply
debug1: Server accepts key: pkalg ssh-rsa blen 279
debug2: input_userauth_pk_ok: SHA1 fp 
4f:03:7d:aa:9a:e4:f1:87:af:10:49:06:49:3f:fe:39:f4:4d:b6:83
debug3: sign_and_send_pubkey
debug1: Authentication succeeded (publickey).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug1: Requesting no-more-sessions@openssh.com
debug1: Entering interactive session.
debug2: callback start
debug2: x11_get_proto: /usr/bin/xauth  list :0.0 2>/dev/null
debug1: Requesting X11 forwarding with authentication spoofing.
debug2: channel 0: request x11-req confirm 0
debug1: Requesting authentication agent forwarding.
debug2: channel 0: request auth-agent-req@openssh.com confirm 0
debug2: client_session2_setup: id 0
debug2: channel 0: request pty-req confirm 1
debug1: Sending environment.
debug3: Ignored env PWD
debug3: Ignored env TERM
debug3: Ignored env COLUMNS
debug3: Ignored env EMACS
debug3: Ignored env DC_LICENSE
debug3: Ignored env HDLMAKER_SYNTHESIS
debug3: Ignored env USERNAME
debug3: Ignored env WINE
debug3: Ignored env ORBIT_SOCKETDIR
debug3: Ignored env HDL_PAGE_ROTATE
debug3: Ignored env QT_IM_MODULE
debug3: Ignored env GPG_AGENT_INFO
debug3: Ignored env GNOME_DESKTOP_SESSION_ID
debug3: Ignored env HDLMAKER_SIMULATOR
debug3: Ignored env HDL_USE_DEFPARAM
debug3: Ignored env PATH
debug3: Ignored env RSYNC_RSH
debug3: Ignored env CVSEDITOR
debug3: Ignored env XILINXD_LICENSE_FILE
debug3: Ignored env HDL_LOCAL_COPY
debug3: Ignored env DESKTOP_SESSION
debug3: Ignored env HDLMAKER_FAMILY
debug3: Ignored env REMOTEHOST
debug3: Ignored env VERILATOR_PATH
debug3: Ignored env MODEL_TECH
debug3: Ignored env MANPATH
debug3: Ignored env BROWSER
debug3: Ignored env GDM_KEYBOARD_LAYOUT
debug3: Ignored env NNTPSERVER
debug3: Ignored env VERA_HOME
debug3: Ignored env WINDOWID
debug3: Ignored env XILINX_LIC_FILE
debug3: Ignored env HDL_USE_SUB_DIR
debug3: Ignored env SYNPLICITY_LICENSE_FILE
debug3: Ignored env GNOME_KEYRING_CONTROL
debug3: Ignored env HDLMAKER_UPCASE_IO
debug3: Ignored env SSH_AUTH_SOCK
debug3: Ignored env CVS_RSH
debug3: Ignored env LM_LICENSE_FILE
debug3: Ignored env ALTERA_LIC_FILE
debug3: Ignored env HDL_VERILOG_COM_CMD
debug3: Ignored env JVM_ROOT
debug3: Ignored env HOSTNAME
debug3: Ignored env GDMSESSION
debug3: Ignored env LOGNAME
debug3: Ignored env WINDOWPATH
debug3: Ignored env SHELL
debug3: Ignored env PLANAHEAD
debug3: Ignored env QUARTUS_ROOTDIR
debug3: Ignored env LESSOPEN
debug3: Ignored env CVSROOT
debug3: Ignored env HDL_PLACE_VERT
debug3: Ignored env HDL_VHDL_COM_CMD
debug3: Ignored env VCS_LICENSE
debug3: Ignored env SYNOPSYS_ROOT
debug3: Ignored env HDL_PAGE_WIDTH
debug3: Ignored env HDLMAKER_ENGINEER
debug3: Ignored env VCS_HOME
debug3: Ignored env HDL_RTLC_SWITCHES
debug3: Ignored env XILINX
debug3: Ignored env MAIL
debug3: Ignored env G_BROKEN_FILENAMES
debug3: Ignored env HOME
debug3: Ignored env HDLMAKER_COMPANY
debug3: Ignored env DBUS_SESSION_BUS_ADDRESS
debug3: Ignored env HDLMAKER_BATCH_Q
debug3: Ignored env SYNPLICITY
debug3: Ignored env ACTEL_SYNPLIFY_PATH
debug3: Ignored env GROUP
debug3: Ignored env HDLMAKER_LANGUAGE
debug3: Ignored env XDG_SESSION_COOKIE
debug3: Ignored env LS_COLORS
debug3: Ignored env XAUTHORITY
debug3: Ignored env LATTICE
debug3: Ignored env HOSTTYPE
debug3: Ignored env ALTERA_PATH
debug3: Ignored env USER
debug3: Ignored env MGCL_LICENSE_FILE
debug3: Ignored env COLORTERM
debug3: Ignored env MGLS_LICENSE_FILE
debug3: Ignored env HDLMAKER_RTLC_CMD
debug3: Ignored env IMSETTINGS_MODULE
debug3: Ignored env HDLMAKER_CASE_SENS
debug3: Ignored env CHIPSCOPE
debug3: Ignored env DISPLAY
debug1: Sending env XMODIFIERS = @im=none
debug2: channel 0: request env confirm 0
debug3: Ignored env ACTEL_SYNPLIFY
debug3: Ignored env CDS_LIC_FILE
debug3: Ignored env ACTEL_LIC_FILE
debug3: Ignored env OSTYPE
debug3: Ignored env XILINXCOMMON
debug3: Ignored env INTEL_CC
debug3: Ignored env HDLMAKER_TRAIL_NUM
debug3: Ignored env GDM_LANG
debug3: Ignored env MACHTYPE
debug3: Ignored env LATTICE_LIC
debug3: Ignored env HDLMAKER_MAP_EFFORT
debug3: Ignored env CPU
debug3: Ignored env EXPL_HOME
debug3: Ignored env HDL_PAGE_HEIGHT
debug3: Ignored env LMC_HOME
debug3: Ignored env LD_LIBRARY_PATH
debug3: Ignored env PRECISION_PATH
debug3: Ignored env HDLMAKER_VERILOG_CMD
debug1: Sending env LANG = en_US.UTF-8
debug2: channel 0: request env confirm 0
debug3: Ignored env J2RE_HOME
debug3: Ignored env BACKUP
debug3: Ignored env GNOME_KEYRING_PID
debug3: Ignored env HOST
debug3: Ignored env ACTEL_SW_HOME
debug3: Ignored env HDLMAKER_MACHINE
debug3: Ignored env IMSETTINGS_INTEGRATE_DESKTOP
debug3: Ignored env CDS_INST_DIR
debug3: Ignored env SESSION_MANAGER
debug3: Ignored env FLEXLM_HOME
debug3: Ignored env SSH_ASKPASS
debug3: Ignored env SHLVL
debug3: Ignored env HDLMAKER_LIB
debug3: Ignored env VENDOR
debug2: channel 0: request shell confirm 1
debug2: fd 3 setting TCP_NODELAY
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel_input_status_confirm: type 99 id 0
debug2: PTY allocation request accepted on channel 0
debug2: channel 0: rcvd adjust 2097152
debug2: channel_input_status_confirm: type 99 id 0
debug2: shell request accepted on channel 0
Last login: Tue Oct 26 18:52:36 2010 from printer
debug1: client_input_channel_open: ctype x11 rchan 4 win 65536 max 16384
debug1: client_request_x11: request from 127.0.0.1 52407
connect : Connection refused
debug2: fd 7 setting O_NONBLOCK
debug3: fd 7 is O_NONBLOCK
debug1: channel 1: new [x11]
debug1: confirm x11
debug2: channel 1: rcvd eof
debug2: channel 1: output open -> drain
debug2: channel 1: obuf empty
debug2: channel 1: close_write
debug2: channel 1: output drain -> closed
debug1: channel 1: FORCE input drain
debug2: channel 1: ibuf empty
debug2: channel 1: send eof
debug2: channel 1: input drain -> closed
debug2: channel 1: send close
debug3: channel 1: will not send data after close
debug2: channel 1: rcvd close
debug3: channel 1: will not send data after close
debug2: channel 1: is dead
debug2: channel 1: garbage collecting
debug1: channel 1: free: x11, nchannels 2
debug3: channel 1: status: The following connections are open:
  #0 client-session (t4 r0 i0/0 o0/0 fd 4/5 cc -1)
  #1 x11 (t4 r4 i3/0 o3/0 fd 7/7 cc -1)

debug3: channel 1: close_fds r 7 w 7 e -1
debug1: client_input_channel_open: ctype x11 rchan 4 win 65536 max 16384
debug1: client_request_x11: request from 127.0.0.1 52408
connect : Connection refused
debug2: fd 7 setting O_NONBLOCK
debug3: fd 7 is O_NONBLOCK
debug1: channel 1: new [x11]
debug1: confirm x11
debug2: channel 1: rcvd eof
debug2: channel 1: output open -> drain
debug2: channel 1: obuf empty
debug2: channel 1: close_write
debug2: channel 1: output drain -> closed
debug1: channel 1: FORCE input drain
debug2: channel 1: ibuf empty
debug2: channel 1: send eof
debug2: channel 1: input drain -> closed
debug2: channel 1: send close
debug3: channel 1: will not send data after close
debug2: channel 1: rcvd close
debug3: channel 1: will not send data after close
debug2: channel 1: is dead
debug2: channel 1: garbage collecting
debug1: channel 1: free: x11, nchannels 2
debug3: channel 1: status: The following connections are open:
  #0 client-session (t4 r0 i0/0 o0/0 fd 4/5 cc -1)
  #1 x11 (t4 r4 i3/0 o3/0 fd 7/7 cc -1)

debug3: channel 1: close_fds r 7 w 7 e -1
0
General
10/26/2010 11:58:55 PM
Reply: