Displaying 20 results from an estimated 22 matches for "x11_get_proto".
2013 Jun 04
3
ssh -Y X-forwarding?
...ng - at least when the target is a 5.x
host. I don't do it often enough to remember if it ever worked when
the remote side is 6.x, but today it is not setting the $DISPLAY
variable, so I get:
Error: Can't open display:
Using -vv shows it at least trying to go through the motions:
debug2: x11_get_proto: /usr/bin/xauth list :1420.0 2>/dev/null
debug1: Requesting X11 forwarding with authentication spoofing.
debug2: channel 0: request x11-req confirm 0
debug2: client_session2_setup: id 0
debug2: channel 0: request pty-req confirm 1
debug1: Sending environment.
debug1: Sending env LANG = en_US.UT...
2008 Jul 26
0
Still no joy: no X11 protocols
...s ${user}
> Subsystem sftp /usr/lib64/ssh/sftp-server
> AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
> AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
> AcceptEnv LC_IDENTIFICATION LC_ALL
And finally the debug output:
debug2: x11_get_proto: /usr/bin/xauth -f /tmp/ssh-ZCkLTd4136/xauthfile generate :0.0 MIT-MAGIC-COOKIE-1 untrusted timeout 1200 2>/dev/null
debug2: x11_get_proto: /usr/bin/xauth -f /tmp/ssh-ZCkLTd4136/xauthfile list :0.0 2>/dev/null
debug1: Requesting X11 forwarding with authentication spoofing.
debug2: channel 0:...
2012 Nov 13
1
virt-viewer X forwarding through ssh broken since FC17 upgrade?
...dhat.com/system \
bork-s01.candlepin.dev.devlab.phx1.redhat.com
This is the message I get:
X11 forwarding request failed on channel 0
A viewer window pops up for a fraction of a second and then
goes away.
Using -vvvv on the local ssh command gives a few possibly
related messages:
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 1
debug1: Requesting authentication agent forwarding.
debug2: channel 0: request auth-agent-req at openssh.com confirm 0
:
debug1: Remote: No xauth p...
2011 Oct 26
4
C6: ssh X-forwarding does not work
...a verbose ssh logon, I can't see any difference to a working server:
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug1: Entering interactive session.
debug2: callback start
debug2: x11_get_proto: /usr/bin/xauth list unix:10.0 2>/dev/null
debug1: Requesting X11 forwarding with authentication spoofing.
debug2: channel 0: request x11-req confirm 0
debug2: client_session2_setup: id 0
debug2: channel 0: request pty-req confirm 0
and netstat does not show the open ports in the 60xx range:...
2004 Jun 17
2
SSH_MSG_USERAUTH_PASSWD_CHANGEREQ and 3.1.0 F-SECURE SSH - Proces s Software SSH for OpenVMS
I have found that this server,
<snip>
debug1: Remote protocol version 1.99, remote software version 3.1.0 F-SECURE
SSH - Process Software SSH for OpenVMS
debug1: no match: 3.1.0 F-SECURE SSH - Process Software SSH for OpenVMS
</snip>
does not follow the IETF secsh draft [1] related to the
SSH_MSG_USERAUTH_PASSWD_CHANGEREQ message.
<snip>
...
Normally, the server responds
2002 Aug 16
2
[Bug 333] X11 forwarding not working in OpenSSH 3.4p1
http://cvs-mirror.mozilla.org/webtools/bugzilla/show_bug.cgi?id=333
------- Additional Comments From dtucker at zip.com.au 2002-08-16 10:31 -------
What does "echo $DISPLAY give? Is the display listed in "xauth list"? What
happens when you try to run an xterm?
You can try deleting your .Xauthority file (it'll be re-created automatically)
and/or adding
2005 Mar 26
0
bug: X11 forwarding silently falls back to ForwardX11Trusted=yes
...a _less_ secure option.)
The cause of the failure (for our situations) happens one a double-ssh.
For example, we have people ssh'ing into our shell machine from home, and
then ssh'ing to their project machines, where they run X11 programs.
The code just before the xauth calls (in ssh.c:x11_get_proto) attempts to
figure out if the X11 screen is local to the machine or not. It assumes
that "localhost:..." means it should rewrite the display to "unix:...".
However, this breaks our situation, since the display is "localhost" due
to it being forwarded via sshd....
2010 Jan 07
0
5.1p1 and X11 forwarding failing
in reply to:
5.1p1 and X11 forwarding failing
http://lists.mindrot.org/pipermail/openssh-unix-dev/2009-February/027183.html
I have the impression that SSH is running xauth with a filename in a temporary directory that does not exist:
local:~ $ ssh -vv user at remote
...
debug2: x11_get_proto: /usr/bin/xauth -f /tmp/ssh-VskgWb3776/xauthfile generate
:0 MIT-MAGIC-COOKIE-1 untrusted timeout 1200 2>/dev/null
...
remote:~ $ /usr/bin/xauth -f /tmp/ssh-VskgWb3776/xauthfile generate :0 MIT-MAGIC-COOKIE-1 untrusted timeout 1200
/usr/bin/xauth:? error in locking authority file /tmp/ssh-VskgW...
2009 Feb 08
0
[OpenSSH_5.1] Untrusted X11 forwarding (ssh -X) no longer works?
$ ssh -v
OpenSSH_5.1, OpenSSL 0.9.8j 07 Jan 2009
$ ssh -vvv -X example.com
[ Relevant debug info: ]
debug1: Remote protocol version 2.0, remote software version OpenSSH_5.1
[OpenSSH_5.1, OpenSSL 0.9.7j 04 May 2006]
debug2: x11_get_proto: /usr/X11R6/bin/xauth -f
/tmp/ssh-TLLOFKxvay/xauthfile generate :0.0 MIT-MAGIC-COOKIE-1
untrusted timeout 1200 2>/dev/null
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Warning: No xauth data; using fake authentication data for X11 forwarding.
debug1: Requesting X1...
2009 Jul 08
1
rsync between windows Opensolaris failures
...debug1: channel 0: new [client-session]
debug1: send channel open 0
debug1: Entering interactive session.
debug2: callback start
debug1: ssh_session2_setup: id 0
debug1: channel request 0: env
debug2: Sent request for environment variable LANG=en_US.UTF-8
debug1: channel request 0: pty-req
debug2: x11_get_proto: /usr/openwin/bin/xauth list :0.0 2>/dev/null
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: channel request 0: x11-req
debug1: channel request 0: shell
debug1: fd 5 setting TCP_NODELAY
debug2: callback done
debug1: channel 0: open confirm rwindow 0 rmax 32768
debug2: c...
2002 May 06
2
X11 forwarding does not work as normal user
We installed openssh 3.1p1 on our Solaris 2.8 machine using gcc 2.95.2. During
the installation, we modified ssh_config and sshd_config to enable X11 and
agent forwarding.
In sshd_config, we changed the following line to read:
X11Forwarding yes
In ssh_config, we changed the following two lines to read:
ForwardAgent yes
ForwardX11 yes
Both files are set to permission readable
2004 Sep 22
2
X11 problems on AIX (OpenSSH_3.7.1p2-pwexp24)
...ebug2: we sent a password packet, wait for reply
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug2: channel 0: send open
debug1: Entering interactive session.
debug2: callback start
debug2: ssh_session2_setup: id 0
debug2: channel 0: request pty-req
debug2: x11_get_proto: /usr/bin/X11/xauth list :0.0 . 2>/dev/null
debug1: Requesting X11 forwarding with authentication spoofing.
debug2: channel 0: request x11-req
debug2: channel 0: request shell
debug2: fd 3 setting TCP_NODELAY
debug2: callback done
debug2: channel 0: open confirm rwindow 0 rmax 32768
debug2: cha...
2007 Mar 05
2
sshd leaking processes
...have been fixed in a recent
version, or if I should download the latest version and try, or what.
The end of the output I see from the above command is (note this is
verbose output from the ProxyCommand ssh, not the parent one):
debug1: Entering interactive session.
debug2: callback start
debug2: x11_get_proto: /usr/X11R6/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 at openssh.com confirm 0
debug2: client_session2...
2005 Apr 18
1
X11 connection rejected because of wrong authentication
...7 padlen 5 extra_pad 64)
debug2: we sent a password packet, wait for reply
debug1: Authentication succeeded (password).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug1: Entering interactive session.
debug2: callback start
debug2: x11_get_proto: /usr/X11R6/bin/xauth -f /tmp/ssh-kBPMsg1836/xauthfile
generate :0.0 MIT-MAGIC-COOKIE-1 untrusted timeout 1200 2>/dev/null
debug2: x11_get_proto: /usr/X11R6/bin/xauth -f /tmp/ssh-kBPMsg1836/xauthfile
list :0.0 . 2>/dev/null
debug1: Requesting X11 forwarding with authentication spoofing.
debug...
2005 Mar 02
0
Ssh / sft /scp password problems, agent runs fine
...debug3: packet_send2: adding 48 (len 10 padlen 6 extra_pad 64)
debug1: Authentication succeeded (keyboard-interactive).
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug2: channel 0: send open
debug1: Entering interactive session.
debug2: callback start
debug2: x11_get_proto: /usr/openwin/bin/xauth list unix:25.0 . 2>/dev/null
debug1: Requesting X11 forwarding with authentication spoofing.
debug2: channel 0: request x11-req confirm 0
debug2: client_session2_setup: id 0
debug1: Sending command: uname -a
debug2: channel 0: request exec confirm 0
debug2: fd 4 setting...
2002 Mar 08
0
[Bug 152] New: Build failure on Sparc/Solaris 2.8 with Sun cc or gcc
...usr/local/free/libexec/sftp-server\"
-D_PATH_SSH_PIDDIR=\"/var/run\"
-DSSH_RAND_HELPER=\"/usr/local/free/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c
ssh.c
ssh.c: In function `main':
ssh.c:620: warning: implicit declaration of function `snprintf'
ssh.c: In function `x11_get_proto':
ssh.c:835: warning: implicit declaration of function `strlcpy'
ssh.c: In function `ssh_session':
ssh.c:898: storage size of `ws' isn't known
ssh.c:936: warning: implicit declaration of function `ioctl'
ssh.c:936: `TIOCGWINSZ' undeclared (first use in this function)
ssh...
2002 Aug 28
0
patch almost works on 5.1A openssh 3.4p1 - get in, but get kicked out (fwd)
...g1: Calling cleanup 0x12006c9f4(0x0)
debug1: Calling cleanup 0x12005d934(0x0)
I added some debugging to session.c, so on the client side it looks like this:
.
.
.
debug3: tty_make_modes: 91 1
debug3: tty_make_modes: 92 0
debug3: tty_make_modes: 93 0
debug2: x11_get_proto /usr/bin/X11/xauth list 129.43.3.127:10.0 2>/dev/null
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: channel request 0: x11-req
debug1: channel request 0: shell
debug1: fd 4 setting TCP_NODELAY
debug2: callback done
debug1: channel 0: open c...
2004 Mar 18
1
3.8p1 password expiry, Solaris 8
...0
debug3: tty_make_modes: 70 1
debug3: tty_make_modes: 71 0
debug3: tty_make_modes: 72 1
debug3: tty_make_modes: 73 0
debug3: tty_make_modes: 74 0
debug3: tty_make_modes: 75 0
debug3: tty_make_modes: 90 1
debug3: tty_make_modes: 91 1
debug3: tty_make_modes: 92 0
debug3: tty_make_modes: 93 0
debug2: x11_get_proto: /usr/X11R6/bin/xauth list :0.0 2>/dev/null
debug1: Requesting X11 forwarding with authentication spoofing.
debug2: channel 0: request x11-req
debug1: Requesting authentication agent forwarding.
debug2: channel 0: request auth-agent-req at openssh.com
debug2: channel 0: request shell
debug2: fd...
2015 May 23
2
X11 forwarding not working.
Hi!
I'm having a difficult time getting X11 forwarding to work.
Since I've read the docs completely about this, this must be an SSH bug
which is likely because I'm using Gentoo as the SSH server.
When trying to forward X11 connections, I get
X11 connection rejected because of wrong authentication.
kwrite: cannot connect to X server XXXXXXXXX:10.0
Using command
ssh -Y -p 1111 -4
2001 Oct 24
2
disable features
...====================================================
RCS file: /home/markus/cvs/ssh/ssh.c,v
retrieving revision 1.147
diff -u -r1.147 ssh.c
--- ssh.c 8 Oct 2001 19:05:05 -0000 1.147
+++ ssh.c 22 Oct 2001 18:40:13 -0000
@@ -772,6 +772,7 @@
return exit_status;
}
+#ifdef WITH_X11FWD
static void
x11_get_proto(char *proto, int proto_len, char *data, int data_len)
{
@@ -810,10 +811,12 @@
}
}
}
+#endif
static void
ssh_init_forwarding(void)
{
+#ifdef WITH_TCPFWD
int success = 0;
int i;
@@ -843,6 +846,7 @@
options.remote_forwards[i].host,
options.remote_forwards[i].host_port);...