I open a connection to a server via exec channel but right after connect to the session, the prompt asks for credentials confirmation before execute the command I send. Is there a way to send the credentials before conenct to the channel?
Via Putty I have the following flow:
connect to ssh server IP => insert username => insert password => server prompts for credential confirmation: insert username => insert password =>run command
Can someone help me?