suggested minor improvement to ssh argument parsing

This is a discussion on suggested minor improvement to ssh argument parsing within the OpenSSH Development forums, part of the Networking and Network Related category; Hi, I use "ssh" often, and within bash I find it useful to define the IP address in &...


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-31-2008
John Vincent
 
Posts: n/a
Default suggested minor improvement to ssh argument parsing

Hi,

I use "ssh" often, and within bash I find it useful to define the IP address in "/etc/hosts" and then use the bash auto-complete feature for the hsot name. For this to work bash needs to see a "@" in front of the host name. This works perfectly for a command like "ssh user@host". However if I want to use the current user by default, I can't get the bash to auto complete the hostname.

My suggestion is to allow ssh to accept the hostname like this "ssh @host" as well as the current "ssh host". This would enable the bash auto-complete function to work.

I hope someone likes this idea enough to make it happen.

Thanks,

John Vincent.

__________________________________________________ _______________
The next generation of Windows Live is here
http://www.windowslive.co.uk/get-live
_______________________________________________
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 Search this Thread
Search this Thread:

Advanced Search
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

BB 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 06:14 AM.


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