Displaying 20 results from an estimated 500 matches similar to: "Having issues with remote command execution - ssh -t host 'sudo command'"
2009 Apr 21
3
ssh localhost yes | true
Referring to "CLOSED FIXED" Bug 85:
https://bugzilla.mindrot.org/show_bug.cgi?id=85
Assuming that you have your machine setup so that
the following commands run without prompting:
ssh -2 localhost pwd
ssh -1 localhost pwd
Then this command:
ssh -1 localhost yes | true
always produces this output:
Write failed flushing stdout buffer.
write stdout: Broken pipe
Yet
2011 Sep 30
2
Interop problem with old dropbear and new openssh
Hi,
I have a router running an old version of OpenWRT with an old version of
dropbear (Dropbear sshd v0.44test3). It has been working for many years and I
ssh in from my desktop systems (running Debian Testing) with no problem.
However, recently I upgraded one of my desktops and I can no longer connect to
the router. Dropbear on the router is exiting with:
exit before auth: bad
2011 May 06
1
hacking attempt
Hello,
today I find in my logs
May 6 01:36:14 xxx sshd[27880]: Address x.x.x.x maps to xxx.com, but this
does not map back to the address - POSSIBLE BREAK-IN ATTEMPT!
May 6 01:36:15 xxx sshd[27880]: *Accepted publickey* for root from x.x.x.x
port 55707 ssh2
May 6 01:36:15 xxx sshd[27880]: pam_unix(sshd:session): session opened for
user root by (uid=0)
May 6 01:36:15 xxx sshd[27880]: subsystem
2011 Nov 07
1
Strange behaviour of ssh
Hello together!
I've Debian 6.0.3 with OpenSSH_5.5p1 and problem with the execution of remote commands via ssh.
It seems as if the first command isn't looked up in all "$PATH" dirs.
Here normally I should get the version information of mpirun twice but the first one fails:
$ ssh cluster2 mpirun --version ; mpirun --version
bash: mpirun: command not found
mpirun (Open MPI) 1.4.3
2010 May 13
1
sshd dies if passed host key with relative path on command line
Hi all,
I noticed that openssh5.5 finally revised this bug, pls check the bugzilla
https://bugzilla.mindrot.org/show_bug.cgi?id=1290
but when i test it both on linux and hp-ux, it will still fails:
In hp-ux, server side:
root at sshia2# /opt/ssh/sbin/sshd -p 1234 -D -h ssh_host_dsa_key -ddd
..........
debug3: send_rexec_state: entering fd = 9 config len 322
debug3: ssh_msg_send: type
2012 Sep 30
2
User can't use SFTP after chroot
Hi,
I've posted this question on ServerFault, but no answer has been found
(http://serverfault.com/questions/431329/user-cant-sftp-after-chroot).
I have version 1:5.3p1-3ubuntu7
To sum up: I want to chroot the user sam. Things I have done:
- add user 'sam' to group 'users'
- added Subsystem sftp internal-sftp to /etc/ssh/sshd_config (at the bottom)
- added a Match :
--
Match
2012 Dec 04
1
iptables port forwarding
I have a simple requirement/test I'm trying to perform, but having difficulty.
I have a system with 2 interfaces, BoxA:
eth0? 172.26.50.102
eth1? 192.101.77.62
My goal is to have a tcp port built on BoxA such that hosts on the 192.101.77.0/24 network can reach a port on a different box on the 172.26.0.0/16 network.
The target system is 172.26.10.120?? tcp/22
The port I wish to build is
2014 Jul 03
2
SFTP fails at connection
Hello,
I have recently installed openssh6.5 on my Centos box.
And I can do ssh to my centos box. But SFTP fails at connection.
I get following messages when I try to run sshd in debug mode.
debug1: subsystem: exec() /usr/libexec/openssh/sftp-server
Starting session: subsystem 'sftp' for op from 192.168.1.101 port 53994
debug1: server_input_channel_req: channel 0 request eow at
2016 Feb 09
2
Test Failure OpenSSH 7.1 P2 on HPE NSE for integrity
Thread split from my previous communication. Here is the integrity logs on
the platform. I had to cut this should due to the length of the logs (5Mb).
***************** failed-regress.log ************
trace: test integrity: hmac-sha1 @2900
FAIL: unexpected error mac hmac-sha1 at 2900: Bytes per second: sent
65665.7, received 55994.0.
trace: test integrity: hmac-sha1 @2901
FAIL:
2016 Jun 29
3
SSH Closes Immediately After Opening
Hello there,
I am having trouble connecting to a ssh server installed with openssh
recently. I have posted about the problem on Superuser, and I will repost a
description of the issue below. If anyone here is able to rescue me from my
deep well of ignorance, I will be very grateful.
http://superuser.com/questions/1094734/ssh-automatically-disconnects-after-login
I'm trying to set up an ssh
2010 Jul 09
6
[Bug 1792] New: Unable to "ls" within a directory with special characters "[" or "]"
https://bugzilla.mindrot.org/show_bug.cgi?id=1792
Summary: Unable to "ls" within a directory with special
characters "[" or "]"
Product: Portable OpenSSH
Version: 5.5p1
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: sftp
2010 Dec 10
2
Best practices using puppet on partially installed systems.
So, my configuration attempts are aimed at Linodes .
Ubuntu 10.10 to be exact.
Linodes are libcloud enabled as well as basically provisioned. What I
seek to do is add to that, not build from nothing, since libcloud et.
al. give me a base to work with.
What is the canonical way to manage this situation?
For example:
$ puppet resource package --verbose openssh-client
package {
2010 Jun 02
1
openssh sftp fails to start a session
Hi,
I am having trouble running sftp from the openssh package openssh-5.5p1. There seems to
be an authentication problem.
This is what happens:
$ sftp -o "Port 2022" testu at localhost
testu at localhost's password:
Connection closed
QUESTION:
Can someone spot the problem please? How do I fix this?
FURTHER INFORMATION
I can run openssh's ssh:
$ ./ssh -p 2022 testu at
2009 Feb 23
0
Announce: OpenSSH 5.2 released
OpenSSH 5.2 has just been released. It will be available from the
mirrors listed at http://www.openssh.com/ shortly.
OpenSSH is a 100% complete SSH protocol version 1.3, 1.5 and 2.0
implementation and includes sftp client and server support.
We have also recently completed another Internet SSH usage scan, the
results of which may be found at http://www.openssh.com/usage.html
Once again, we
2009 Feb 23
0
Announce: OpenSSH 5.2 released
OpenSSH 5.2 has just been released. It will be available from the
mirrors listed at http://www.openssh.com/ shortly.
OpenSSH is a 100% complete SSH protocol version 1.3, 1.5 and 2.0
implementation and includes sftp client and server support.
We have also recently completed another Internet SSH usage scan, the
results of which may be found at http://www.openssh.com/usage.html
Once again, we
2024 May 16
2
[Bug 3691] New: Connection to localhost succeeds with disabled MAC
https://bugzilla.mindrot.org/show_bug.cgi?id=3691
Bug ID: 3691
Summary: Connection to localhost succeeds with disabled MAC
Product: Portable OpenSSH
Version: 9.7p1
Hardware: amd64
OS: Other
Status: NEW
Severity: normal
Priority: P5
Component: sshd
Assignee: unassigned-bugs at
2009 Feb 18
0
FW: Call for testing: openssh-5.2
Whoops -- sent to wrong address...
Mandriva 2008.1 openssh-SNAP-20090218 passes all tests.
> -----Original Message-----
> From: Scott Neugroschl
> Sent: Tuesday, February 17, 2009 10:06 AM
> To: Damien Miller
> Subject: RE: Call for testing: openssh-5.2
>
> Mandriva 2008.1 -- openssh-SNAP-20090218 passes
>
>
> -----Original Message-----
> From:
2015 Mar 25
3
FYI: SSH1 now disabled at compile-time by default
On Tue, Mar 24, 2015 at 10:37 PM, Dan Kaminsky <dan at doxpara.com> wrote:
> On Tuesday, March 24, 2015, Damien Miller <djm at mindrot.org> wrote:
>
>> On Tue, 24 Mar 2015, Dan Kaminsky wrote:
>>
>> > Hmm. Feels a little aggressive for ssh client. Support heartily for
>> sshd.
>>
>> People who need it can build their own, or OS vendors
2020 Oct 06
5
[Bug 3220] New: Possible bug if ControlMaster + ControlPersist and `-t`
https://bugzilla.mindrot.org/show_bug.cgi?id=3220
Bug ID: 3220
Summary: Possible bug if ControlMaster + ControlPersist and
`-t`
Product: Portable OpenSSH
Version: 8.4p1
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: ssh
2018 Mar 28
0
random wrong login shell in domain member
Hello Adam,
Have the same issue on CentOS 7.4. Ended up hardcording in smb.conf:
template shell = /bin/bash
template homedir = /home/%U
Never had such issues on Fedora. Please let me know if you'll find a real
fix.
Thank you,
Matt
On Tue, Mar 27, 2018 at 10:13 PM, adam_xu--- via samba <
samba at lists.samba.org> wrote:
> Hello, everybody. I have encountered some strange