Displaying 20 results from an estimated 200 matches similar to: "[PATCH] Add ssh_config option ExecRemoteCommand which is equivalent to -N"
2016 Aug 09
3
Equivalent ssh_config setting for "ssh -N"
Oops. That's -T. From the man page, it doesn't really look like there's an ssh_config option for -N.
-----Original Message-----
From: openssh-unix-dev [mailto:openssh-unix-dev-bounces+scott_n=xypro.com at mindrot.org] On Behalf Of Scott Neugroschl
Sent: Tuesday, August 09, 2016 1:04 PM
To: Volker Diels-Grabsch; openssh-unix-dev at mindrot.org
Subject: RE: Equivalent ssh_config
2016 Aug 09
4
Equivalent ssh_config setting for "ssh -N"
Dear OpenSSH developers,
Is there an equivalent ssh_config setting for the command line option
ssh -N ...
?
I want to connect to a server that doesn't provide an interactive
shell but allows for port forwarding only. I'd love to configure
this into my ~/.ssh/config as follows:
Host foo
Hostname ...
Port ...
User ...
LocalForward ...
2013 May 14
15
[Bug 2103] New: remote command as an option in ssh_config
https://bugzilla.mindrot.org/show_bug.cgi?id=2103
Bug ID: 2103
Summary: remote command as an option in ssh_config
Classification: Unclassified
Product: Portable OpenSSH
Version: 6.2p1
Hardware: Other
OS: Linux
Status: NEW
Severity: enhancement
Priority: P5
Component: ssh
2024 May 04
3
Feature request/EOI: Match interactive config?
Hey there,
I often want different behavior in my ssh client depending on whether I'm logging into an interactive session or running a remote non-interactive command. We can see at, say, https://unix.stackexchange.com/a/499562/305714 that this isn't a unique wish, and existing solutions are kind of baroque. Typical reasons to do this are to immediately go into a screen or tmux session; for
2010 Sep 04
4
[Bug 1815] New: RemoteCommand and PseudoTTY config options
https://bugzilla.mindrot.org/show_bug.cgi?id=1815
Summary: RemoteCommand and PseudoTTY config options
Product: Portable OpenSSH
Version: 5.1p1
Platform: All
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P2
Component: ssh
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy:
2024 May 04
1
Feature request/EOI: Match interactive config?
Or just create bash (or whatever your favorite shell equivalent is) alias?
alias issh=?sah -F ~/.ssh/altcinfig?
Or wrapper scripts in ~/bin/ you can invoke?
Literally what I do for mosh, mosh+screen etc.
--
"Genius might be described as a supreme capacity for getting its possessors
into trouble of all kinds."
-- Samuel Butler
On Fri, May 3, 2024 at 20:27 <openssh at tr.id.au>
2024 May 06
1
Feature request/EOI: Match interactive config?
Hey Damien,
> Would something like this help?
>
> Match sessiontype shell
> User foo
> Match remotecommand "none"
> User foo2
> Match sessiontype exec remotecommand "/rsync"
> User bar
> Match sessiontype subsystem remotecommand "sftp"
> User baz
>
>
> diff --git a/readconf.c b/readconf.c
> <snip>
Thanks for looking
2007 Feb 13
0
[Bug 1285] no way to override SendEnv directive in /etc/ssh/ssh_config
http://bugzilla.mindrot.org/show_bug.cgi?id=1285
Summary: no way to override SendEnv directive in
/etc/ssh/ssh_config
Product: Portable OpenSSH
Version: 4.2p1
Platform: Other
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: ssh
AssignedTo: bitbucket at
2004 Oct 20
0
ssh_config, AddressFamily
Hello
I was wondering why I cant set inet6,inet - like Protocol version 2,1 - it
would be nice if I would be able to set a kind of prefer mode for IPv6 as for
protocol 2. But only one argument is accepted: inet6, inet or any.
At least that is what the manpage tells me, I also tested it - no way.
Why is this feature not included? Will it be included?
If you think it's my mistake then please
2006 Oct 07
0
[Bug 1000] LocalForward, RemoteForward directives wrong in ssh_config.5
http://bugzilla.mindrot.org/show_bug.cgi?id=1000
dtucker at zip.com.au changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
------- Comment #5 from dtucker at zip.com.au 2006-10-07 11:39 -------
Change all RESOLVED bug to CLOSED with the exception
2009 Aug 22
0
expansion of %h in HostName field of ssh_config
Hi
It seems like a nice idea to expand a %h in the HostName field in
ssh_config to the host given as argument to ssh.
often one would have a entry in their ssh_config like:
camel*
User ...
It's okay if the system knows that the host camel01 fx points to the right host.
But what if the actual host is camel01.daimi.au.dk this is something
you wouldn't like to write in your terminal.
2009 Apr 08
0
sshd: ssh_config default setting - PermitRootLogin yes
[Please keep CC, I'm not in this list]
The default settings for PermitRootLogin appears to be 'yes'.
Increased number of attacks target the ssh port 22 and root logins
directly[1] throught the Internet.
Would it be possible to tighten the initial installation by defaulting
PermitRootLogin to 'no' (or even in *.c) in forthcoming releases and
have administrators relax it if
2000 Aug 28
1
[OpenSSH] sample line about ForwardX11 in ssh_config file is not fit to default setting
Hi
OpenSSH developers
I use OpenSSH under FreeBSD. It's cool and useful for me.
By the way, sample line of ForwardX11 in ssh_config was not fit
for default setting in readconf.c. I want to change ssh_config.
----------
In ssh source (src/usr.bin/ssh/readconf.c), currently ForwardX11
is disabled.
731 if (options->forward_x11 == -1)
732
2000 May 05
1
openssh-2.0beta ssh_config Protocol parsing error.
Hello all,
It seems that openssh-2.0beta's ssh doesn't parse /etc/ssh/ssh_config (or
equivalent) properly. If I add e.g. 'Protocol 2,1' there, ssh will just
complain '/etc/ssh/ssh_config line 30: garbage at end of line.'. I've
tried changing the line, etc. but the error remains.
True enough, README.openssh2 only mentions ~/.ssh/config, but IMO this
must have been an
2002 Nov 11
0
[Bug 433] New: Allow "ProxyCommand none" in ssh_config
http://bugzilla.mindrot.org/show_bug.cgi?id=433
Summary: Allow "ProxyCommand none" in ssh_config
Product: Portable OpenSSH
Version: -current
Platform: All
OS/Version: All
Status: NEW
Severity: minor
Priority: P2
Component: Miscellaneous
AssignedTo: openssh-unix-dev at mindrot.org
2002 Nov 11
0
[Bug 433] Allow "ProxyCommand none" in ssh_config
http://bugzilla.mindrot.org/show_bug.cgi?id=433
------- Additional Comments From binder at arago.de 2002-11-12 02:35 -------
Created an attachment (id=177)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=177&action=view)
Patch as discussed in openssh-unix-dev's thread 'Allow "ProxyCommand none" in
ssh_config'
------- You are receiving this mail because:
2003 Feb 05
1
[Bug 433] Allow "ProxyCommand none" in ssh_config
http://bugzilla.mindrot.org/show_bug.cgi?id=433
------- Additional Comments From binder at arago.de 2003-02-06 05:10 -------
Created an attachment (id=218)
--> (http://bugzilla.mindrot.org/attachment.cgi?id=218&action=view)
Patch for ProxyCommand's description in ssh_config.5
I have to admit I've never edited nroff-files before,
so here's my first attempt ...
-------
2005 Jun 08
0
hashing Hosts in ssh_config file
Hello,
I hope this isn't a stupid question, but after editing
my sshd_config file to set HashKnownHosts to 'yes'
after this feature was recently added it occured to me
that many of those same hosts are listed in "Hosts"
lines in my ssh_config file. (The servers I connect
to use different ports and require different
IdentityFiles, so I set the appropriate options for
each
2006 Jul 26
0
[PATCH] Correction to ssh_config(5)
Based on
http://www.openssh.org/report.html
I'm assuming that non-security patch submissions should go through here.
If not, please point me in the appropriate direction.
Attached is a patch that cleans up a small section in ssh_config(5). As
a user of FreeBSD, I submitted it to them. They pointed out that it was
in their contrib section, and that suggesting the change to you would be
2007 Oct 16
1
ssh_config man page
Hi,
The ssh_config man page doesn't list the GlobalKnownHostsFile2 or
UserKnownHostsFile2 keywords, only the older versions without the 2s.
Would it be possible to update them?
thanks!
maarten