aker-gateway / Aker

SSH bastion/jump host/jumpserver
Other
567 stars 81 forks source link

Hostname probleme,port probleme #66

Closed botti007 closed 6 years ago

botti007 commented 6 years ago

hello , actually i had two problemes the first : your connect methode point on the name key of host json however in my case i want that ssh connect method point on hostname because i want in json file make : NAME:firweallcli hostname: IP of firewall

second probleme all serveur must be initiate on port 22 and this is not my case because i had servers that are initiate in port 22 and the other no so whene i edit json file nothing change "always probleme of port"

in you'r code def __init__(self, name, memberof_hostgroups, ssh_port=22): self.fqdn = name self.name = name self.ssh_port = ssh_port self.hostgroups = memberof_hostgroups

you are initiate you'r port always on 22

so please help me to make aker point on the port that i give it json file and also help me to maker aker point on hostname that i give it in json file not the name

i hope you help me please

anazmy commented 6 years ago

Hi @botti007

Yes that was mentioned earlier on issue #38 , should be handled in a future version

anazmy commented 6 years ago

Closing as duplicate of #38