Displaying 20 results from an estimated 10000 matches similar to: "Inheriting environment - sshd server to shell child"
2002 Jul 01
9
scp not tolerant of extraneous shell messages
I spent some time debugging a failing Scp that turned out to be caused
by the remote shell producing messages on Standard Output that aren't
part of the SCP protocol.
Scp from a remote system works by running another Scp on the remote
system. The remote Scp writes SCP protocol messages (and file data)
to its Standard Output, which the local Scp sees as Standard Input.
But it's
2017 Dec 15
1
GUI/X11 login and shells other than bash?
On Fri, December 15, 2017 2:34 pm, Stephen John Smoogen wrote:
> On 15 December 2017 at 13:24, Valeri Galtsev <galtsev at kicp.uchicago.edu>
> wrote:
>> Dear Experts,
>>
>> After one of updates that was released some time ago (a Month ago or
>> maybe
>> even earlier) I have noticed the following. On the machines with default
>> runlevel 5 (sorry
2002 Jun 11
0
[Bug 273] New: sshd hangs on shell exit if user spawned child with /bin/nohup
http://bugzilla.mindrot.org/show_bug.cgi?id=273
Summary: sshd hangs on shell exit if user spawned child with
/bin/nohup
Product: Portable OpenSSH
Version: -current
Platform: UltraSparc
OS/Version: Solaris
Status: NEW
Severity: normal
Priority: P2
Component: sshd
AssignedTo:
2002 Jun 11
0
[Bug 273] sshd hangs on shell exit if user spawned child with /bin/nohup
http://bugzilla.mindrot.org/show_bug.cgi?id=273
------- Additional Comments From kerry.schwab at wnco.com 2002-06-12 06:26 -------
Debug output, with comments:
Get this once i'm in:
>>[some omitted for brevity]
>>debug1: session_new: session 0
>>debug1: Allocating pty.
>>debug1: session_pty_req: session 0 alloc /dev/pts/12
>>debug1: fd 4 setting TCP_NODELAY
2002 Jul 12
0
[Bug 273] sshd hangs on shell exit if user spawned child with/bin/nohup
Perhaps the man page should be fixed then, because neither
rsh nor rlogin provide any kind of port forwarding, or X11
forwarding, etc...
Also, the comparison between ssh and rsh is more appropriate
if you're talking about SSHv1 and much less so if you're
talking about SSHv2.
Nico
--
> -----Original Message-----
> From: Eric Garff [mailto:egarff at omniture.com]
> Sent:
2003 Jan 07
0
[Bug 273] sshd hangs on shell exit if user spawned child with /bin/nohup
http://bugzilla.mindrot.org/show_bug.cgi?id=273
djm at mindrot.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |DUPLICATE
------- Additional Comments From djm at mindrot.org 2003-01-07 18:14
2002 Jul 12
3
[Bug 273] sshd hangs on shell exit if user spawned child with /bin/nohup
http://bugzilla.mindrot.org/show_bug.cgi?id=273
------- Additional Comments From sam at neutrino.phy.uct.ac.za 2002-07-13 01:22 -------
i also have this exact same problem using
OpenSSH_3.4p1, SSH protocols 1.5/2.0, OpenSSL 0x0090603f
i start a program with "nohup <program> &" and upon returning to my native
machine, the terminal is balnk, frozen with no bash prompt. i
2018 Aug 27
2
sshd 7.8p1 close connection from VMware Fusion NAT Port Forwarding
On 2018-08-27, Stuart Henderson <stu at spacehopper.org> wrote:
> On 2018-08-27, Zach Cheung <kuroro.zhang at gmail.com> wrote:
>> After upgrading my VMware Fusion (10.1.3) Arch Guest to the latest with
>> OpenSSH upgraded from 7.7p1 to 7.8p1, found that ssh from macOS Sierra
>> (10.12.6) host to Arch guest via local NAT port forwarding failed, but via
>>
2018 Aug 28
3
sshd 7.8p1 close connection from VMware Fusion NAT Port Forwarding
On Mon, 27 Aug 2018, Stuart Henderson wrote:
> On 2018-08-27, Zach Cheung <kuroro.zhang at gmail.com> wrote:
> > After upgrading my VMware Fusion (10.1.3) Arch Guest to the latest with
> > OpenSSH upgraded from 7.7p1 to 7.8p1, found that ssh from macOS Sierra
> > (10.12.6) host to Arch guest via local NAT port forwarding failed, but via
> > Arch LAN IP worked,
2004 Jul 08
8
Root users shell == no existant shell /bin/bash
I made a mistake setting my shell and have set the root users shell to
/bin/bash instead of /bin/sh. I am curiuos if anyone knows how to fix this.
The machines is FreeBSD 4.8-RELEASE-p4 and does not have sudo only su.
2017 Dec 15
3
GUI/X11 login and shells other than bash?
Dear Experts,
After one of updates that was released some time ago (a Month ago or maybe
even earlier) I have noticed the following. On the machines with default
runlevel 5 (sorry about old terminology, the new one is still confusing
for me ;-) GUI/X11 login (display manager) lists only users whose default
shell is bash. Or, at least users whose default shell is tcsh are not
listed at all, and if
2006 Sep 17
3
wishlist: option to cause /bin/sh to be used instead of user's shell
SSH, like RSH before it, invokes a command using the user's shell as
specified in the passwd file. In a mixed shell environment with some
logins csh-like and some sh-like that is sometimes very difficult to
handle. (No, I am not fond of csh.) If I could force a single shell
everywhere of course that would be preferable but sometimes I have no
control over it.
I have often wanted an option
2010 Nov 15
7
good shell script examples?
I am looking for a beginner guide to shell scripting simple tasks on CentOS
(e.g. ssh'ing into a server / router / switch, checking for certain things,
then exiting and going to the next IP).
Does anyone have any suggestions on where to look? (I'm relatively new to
bash)
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2015 Dec 04
2
template shell RFC2307 loginShell
We use power broker here at work and where wondering why we need it.
I was able to setup a new linux server using samba and am able to login
with my active directory accounts but I couldn't figure out how to set the
login shells.
I have a work around but would like feedback
in my /etc/samba/smb.conf I have the following
security = ads
realm = DOMAIN.LONG
workgroup = DOMAIN
idmap
2013 Apr 20
1
NT MD4 password encryption question
Are there multiple ways that Windows clients encrypt passwords? I'm seeing
different behavior between two clients.
On one, I can access a Samba share just fine. On the other, using the same
username and password to access the same share, I get "incorrect password."
Looking for the difference in Samba debug traces, I find it comes down to
this:
smb_password_ok: Checking SMB
2018 Aug 27
3
sshd 7.8p1 close connection from VMware Fusion NAT Port Forwarding
After upgrading my VMware Fusion (10.1.3) Arch Guest to the latest with
OpenSSH upgraded from 7.7p1 to 7.8p1, found that ssh from macOS Sierra
(10.12.6) host to Arch guest via local NAT port forwarding failed, but via
Arch LAN IP worked, downgraded OpenSSH from 7.8p1 to 7.7p1 fixed the
problem.
Any idea about this bug?
VMware Fusion NAT Port Forwarding setup:
VMware Fusion ? NAT Port Forwarding
2015 Apr 24
9
Real sh? Or other efficient shell for non-interactive scripts
On 04/24/2015 03:57 AM, Pete Geenhuizen wrote:
> if you leave it out the script will run in whatever environment it
> currently is in.
I'm reasonably certain that a script with no shebang will run with
/bin/sh. I interpret your statement to mean that if a user is using ksh
and enters the path to such a script, it would also run in ksh. That
would only be true if you
2011 Nov 03
1
winbind auth, specifying shell
Hey folks,
I'm using winbind authentication against MS Active Directory, and it's
working great. Because of
template shell = /bin/bash
in smb.conf, new users are getting assigned the bash shell, which is great
in most cases. Some users, however, prefer a different shell (tcsh).
How can I specify, on a user by user basis, the preferred shell?
I'm guessing this is an attribute in
2015 Dec 05
3
template shell RFC2307 loginShell
Thank you Rowland for looking at it.
I did read the wiki here https://wiki.samba.org/index.php/Idmap_config_ad
that is how I got as far as I did; that and the idmap_ad man page. I could
not find how to use the loginShell is there a variable I can use for it in
the template or an option to set to use it? loginShell and unixHomedir are
not mentioned on the wiki that I could find. I'm good with
2015 Apr 24
2
Real sh? Or other efficient shell for non-interactive scripts
On Fri, April 24, 2015 12:04 pm, John R Pierce wrote:
> On 4/24/2015 9:47 AM, Gordon Messmer wrote:
>> On 04/24/2015 03:57 AM, Pete Geenhuizen wrote:
>>> if you leave it out the script will run in whatever environment it
>>> currently is in.
>>
>> I'm reasonably certain that a script with no shebang will run with
>> /bin/sh. I interpret your