gregswift / keploy-OLD

Automatically exported from code.google.com/p/keploy
GNU General Public License v3.0
1 stars 0 forks source link

SSH configs should be respected #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Configure SSH to use different usernames for various hostname blocks
2. Attempt to run keploy using the -k option with a set key
3. Note that it prompts for a password, but fails login to those nodes.

What is the expected output? What do you see instead?

It appears that keploy uses a call to SSH, but populates the username based on 
the currently logged in local user.  Specifying the username overrides what's 
in the SSH config.  Without specifying a user, SSH will always default to the 
local logged in user if the config does not have a specific user present, so it 
is unnecessary to specify a username.

What version of the product are you using? On what operating system?

Mac OS X 10.7.5 on keploy-0.7

Please provide any additional information below.

Original issue reported on code.google.com by tris...@gmail.com on 11 Apr 2013 at 10:09