the problem is that i need to ask user and password because many people should use the script and it is not wished due to security reasons that there is a automatic authentication...sucks, but its a rule :[
the final goal is to use a SSH connection to a server, from there a second SSH connection to an other server and from there via telnet to a switch...each hop with authentication Oo