Displaying 20 results from an estimated 51 matches for "ssh_session2_setup".
2003 Nov 21
1
ssh code question
Hi,
I have a question about the code for version openssh 3.7.1p1. In the file ssh.cc you
address ssh_session2_setup in some way:
channel_register_confirm(c->self, ssh_session2_setup);
Do you address the function: static void ssh_session2_setup(int id, void * args) in the same file or is it something else you address?
If it is that function please tell me why the ssh_session2_setup function don't have a...
2006 Jan 16
1
LocalCommand problem for tunneling on Linux
...neling interface is opened. This causes
errors on Linux and the interface is not automatically set up.
This is not a problem on *BSD because you can do ifconfig for
unopened tun/tap interfaces. But in Linux, you need to open it first.
A possible solution seems to have ssh_local_cmd() executed
in ssh_session2_setup().
Thank you,
Yusuke
2002 Nov 06
2
scp output redirection doesn't work...
...n 149 lastkey 20043ab8 hint
> -1
> debug1: ssh-userauth2 successful: method publickey
> debug1: fd 4 setting O_NONBLOCK
> debug1: fd 5 setting O_NONBLOCK
> debug1: channel 0: new [client-session]
> debug1: send channel open 0
> debug1: Entering interactive session.
> debug1: ssh_session2_setup: id 0
> debug1: Sending command: scp -v -t ~/test
> debug1: channel request 0: exec
> debug1: channel 0: open confirm rwindow 0 rmax 32768
> Sending file modes: C0640 16000 test
> test 100% |*****************************| 16000
> 00:00
> debug1: channel 0: read&...
2020 May 20
0
[Bug 1997] Add QoS to ControlPath escapes
...to a solution (with different hosts being a workaround but IMO not
a well maintainable one), I've run through the sequence and options
with the current versions:
* QoS is still decided after expansion (expansion happens in main; QoS
is set down from there in ssh_session2 / ssh_session2_open /
ssh_session2_setup)
* QoS, unless explicitly configured, is set to interactive based on the
presence of tty_flag || a successful X forwarding.
* tty_flag is set in main based on -t/-T, the presence of a command and
isatty a few lines before the control path expansion.
It should thus be relatively straight-forward to...
2002 Jun 06
1
X11 forwarding problem
...ting O_NONBLOCK
debug1: channel 0: new [port listener]
debug1: Local forwarding listening on 127.0.0.1 port 10000.
debug1: fd 5 setting O_NONBLOCK
debug1: channel 1: new [port listener]
debug1: channel 2: new [client-session]
debug1: send channel open 2
debug1: Entering interactive session.
debug1: ssh_session2_setup: id 2
debug1: channel request 2: pty-req
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: channel request 2: x11-req
debug1: channel request 2: shell
debug1: fd 3 setting TCP_NODELAY
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
2003 Aug 22
0
Client does not propagate EPIPE write error to server.
...at /dev/zero | dd count=1
...
debug1: fd 4 setting O_NONBLOCK
debug1: fd 5 setting O_NONBLOCK
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug1: send channel open 0
debug1: Entering interactive session.
debug2: callback start
debug1: ssh_session2_setup: id 0
debug1: Sending command: cat /dev/zero
debug1: channel request 0: exec
debug2: callback done
debug1: channel 0: open confirm rwindow 0 rmax 32768
debug2: channel 0: rcvd adjust 131072
debug1: channel 0: read<=0 rfd 4 len 0
debug1: channel 0: read failed
debug1: chan...
2005 Jun 13
1
rekeying in SSH-2 and session setup?
...ill the connection (explicit 'packet_disconnect()' if we
receive neither SUCCESS nor FAILURE from the server).
Could somebody perhaps check whether I am completely off-track with
this? I'd also be grateful on advice how to handle or prevent rekeying
events during session setup, e.g. in ssh_session2_setup().
Thanks
Jan
2001 Nov 28
2
scp
Hello -
I am trying to use scp (openssh_3.0), but every time I run it, I get the following error:
stty: Not a typewriter
When I run it with -v , it shows that authentication (pub key) succeeds, but it fails to read the file. If anybody has a clue as to what's going on here, any help will be appreciated. Thanks.
Tariq
tariq.lahyani at aa.com
2009 Jul 08
1
rsync between windows Opensolaris failures
...================================
[...]
harry@harvey's password:
debug2: we sent a password packet, wait for reply
debug1: Authentication succeeded (password)
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: x...
2002 Jul 17
1
[Bug 357] SSH does not handle "Protocol" option in ~/.ssh/options properly
...h_pubkey_agent: testing agent key /home/dfs/.ssh/id_dsa
debug1: input_userauth_pk_ok: pkalg ssh-dss blen 433 lastkey 0x80890f0 hint -1
debug1: ssh-userauth2 successful: method publickey
debug1: channel 0: new [client-session]
debug1: send channel open 0
debug1: Entering interactive session.
debug1: ssh_session2_setup: id 0
debug1: channel request 0: pty-req
debug1: channel request 0: shell
debug1: fd 3 setting TCP_NODELAY
debug1: channel 0: open confirm rwindow 0 rmax 32768
Last login: Wed Jul 17 10:54:41 2002 from shishi.roaringpenguin.com
------- You are receiving this mail because: -------
You are the as...
2001 Nov 15
1
ssh -2 and hostbasedauth
...sts.
debug1: authentications that can continue: publickey,password,keyboard-interactive,hostbased
debug1: Remote: Accepted by .shosts.
debug1: ssh-userauth2 successful: method hostbased
debug1: channel 0: new [client-session]
debug1: send channel open 0
debug1: Entering interactive session.
debug1: ssh_session2_setup: id 0
debug1: channel request 0: shell
debug1: channel 0: open confirm rwindow 0 rmax 16384
- I don't really understand what "Remote: Accepted by .shosts" means,
as in the first example the client connection is NOT accepted (due to
the key not being known).
Is this vague on purpose...
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
2002 Nov 18
0
[Bug 438] New: SFTP does not work for users with RSH shells
...ry privkey: /.ssh/id_dsa
debug1: next auth method to try is password
temp at localhost's password:
debug1: ssh-userauth2 successful: method password
debug1: fd 5 setting O_NONBLOCK
debug1: channel 0: new [client-session]
debug1: send channel open 0
debug1: Entering interactive session.
debug1: ssh_session2_setup: id 0
debug1: Sending subsystem: sftp
debug1: channel request 0: subsystem
debug1: channel 0: open confirm rwindow 0 rmax 32768
debug1: channel 0: rcvd eof
debug1: channel 0: output open -> drain
debug1: channel 0: obuf empty
debug1: channel 0: close_write
debug1: channel 0: output drain -> c...
2003 Jan 07
0
Bug in Ossh3.5p1
...ived
debug1: done: ssh_kex2.
debug1: send SSH2_MSG_SERVICE_REQUEST
debug1: service_accept: ssh-userauth
debug1: got SSH2_MSG_SERVICE_ACCEPT
debug1: ssh-userauth2 successful: method none
debug1: channel 0: new [client-session]
debug1: send channel open 0
debug1: Entering interactive session.
debug1: ssh_session2_setup: id 0
debug1: Requesting X11 forwarding with authentication spoofing.
debug1: channel request 0: shell
debug1: channel 0: open confirm rwindow 0 rmax 32768
Last login: Tue Jan 7 03:20:25 2003 from <someother_host>
bash#
---------------------------------------------------------------
Bang, I...
2004 Sep 22
2
X11 problems on AIX (OpenSSH_3.7.1p2-pwexp24)
...ssh -X -v -v user at host gives (grepped out X11 looking lines)
debug2: 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
d...
2004 Nov 16
7
[Bug 953] openssh session hanging - prngd[671]: write() in socket_write() failed: Broken pipe
http://bugzilla.mindrot.org/show_bug.cgi?id=953
Summary: openssh session hanging - prngd[671]: write() in
socket_write() failed: Broken pipe
Product: Portable OpenSSH
Version: 3.7.1p2
Platform: Sparc
OS/Version: Solaris
Status: NEW
Severity: normal
Priority: P2
Component: ssh
2002 Mar 10
0
[Bug 156] New: Problem interacting with SSH on DigitalUnix
...4 lastkey 0x8086da0 hint 1
debug1: read PEM private key done: type DSA
debug1: ssh-userauth2 successful: method publickey
debug1: fd 4 setting O_NONBLOCK
debug1: fd 5 setting O_NONBLOCK
debug1: channel 0: new [client-session]
debug1: send channel open 0
debug1: Entering interactive session.
debug1: ssh_session2_setup: id 0
debug1: Sending command: scp -v -t giano.c
debug1: channel request 0: exec
debug1: channel 0: open confirm rwindow 100000 rmax 32768
scp: warning: Executing scp1 compatibility.
scp: FATAL: Executing ssh1 in compatibility mode failed (Check that scp1 is in your PATH).
debug1: client_input_chan...
2002 Oct 01
1
ssh with iptables and equalize
...ebug1: ssh-userauth2 successful: method password
debug3: clear hostkey 0
debug3: clear hostkey 1
debug3: clear hostkey 2
debug1: channel 0: new [client-session]
debug3: ssh_session2_open: channel_new: 0
debug1: send channel open 0
debug1: Entering interactive session.
debug2: callback start
debug1: ssh_session2_setup: id 0
debug1: channel request 0: pty-req
debug3: tty_make_modes: ospeed 38400
debug3: tty_make_modes: ispeed 38400
debug3: tty_make_modes: 1 3
debug3: tty_make_modes: 2 28
debug3: tty_make_modes: 3 127
debug3: tty_make_modes: 4 21
debug3: tty_make_modes: 5 4
debug3: tty_make_modes: 6 0
debug3: tty_...
2002 Feb 02
2
disabling the authentication agent?
...esting agent key "Robert Mooney at workstation"
debug1: input_userauth_pk_ok: pkalg ssh-dss blen 819 lastkey 0x490a0 hint -1
debug1: ssh-userauth2 successful: method publickey
debug1: channel 0: new [client-session]
debug1: send channel open 0
debug1: Entering interactive session.
debug1: ssh_session2_setup: id 0
debug1: channel request 0: shell
debug1: channel 0: open confirm rwindow 0 rmax 16384
Last login: Fri Feb 1 22:31:04 2002 from host1
host2:~$
- Rob
--
Robert Mooney (rjmooney at aboveground.cx)
www: http://www.aboveground.cx/~rjmooney/
2004 Sep 29
1
X11 Forwarding troubles with OpenSSH client and OpenVMS host
...9;t
setup?
Does anyone know if this works (i.e. running a remote command over SSH
without an interactive shell) or does OpenVMS require an interactive
shell in order to run a remote command over SSH? I am not that saavy
on OpenVMS enough to know the best way to troubleshoot.
As a test I modifyied ssh_session2_setup() in ssh.c to force
requesting a shell before and after (in addtion to issuing) the exec
request to no avail.
Any thoughts or suggestions greatly appreciated.
cheers,
scott rankin