Command-based ssh_config declarations

This is a discussion on Command-based ssh_config declarations within the OpenSSH Development forums, part of the Networking and Network Related category; How difficult would it be to enhance the client ssh_config file to allow command-based declarations similar to that provided ...


Go Back   Usenet Forums > Networking and Network Related > OpenSSH Development

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-07-2008
petesea@bigfoot.com
 
Posts: n/a
Default Command-based ssh_config declarations

How difficult would it be to enhance the client ssh_config file to allow
command-based declarations similar to that provided by the "Host" keyword?

The main reason I need something like this is when ssh is used via CVS and
Subversion. I want all CVS/Subversion traffic to use a different SSH port
and different authentication options.

So... you might have an ssh_config file that contained:

Command '*cvs.mydomain.com cvs server' '*svn.mydomain.com svnserve -t'
Port 2200
Protocol 2
BatchMode yes
PasswordAuthentication no
PubkeyAuthentication yes

Where the string matched against the pattern is the complete command line
passed to the ssh client.

This would allow all CVS traffic to use one setting, but normal SSH
traffic to the same host could use different settings.
_______________________________________________
openssh-unix-dev mailing list
openssh-unix-dev@mindrot.org
https://lists.mindrot.org/mailman/li...enssh-unix-dev
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:26 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0