Click here to Skip to main content
15,883,749 members
Please Sign up or sign in to vote.
3.50/5 (2 votes)
I have two solaris servers having IP
10.10.36.20(A) and 10.90.33.22(B)

The server B is exposed to internet but server A is intranet server.

I want to transfer some files from server B to server A but in order to do this I have to bypass the firewall installed in server A which can raise to security risk.

I cannot use any Intermediate server C to bypass the security.

I tried to use bash script using "scp" command to transfer files but I cannot bypass the password prompt.And I cannot Install any new solaris packages in the server such as expect etc... to bypass the password prompt.

Is there any linux or java technique to bypass the password prompt and connect to server A from server B to transfer files from server B to A.

Kindly help me I am struck with this issue since a long time and I cannot find any alternate to this.


Please suggest any alternate Ideas that I can positively implement here.
Posted

http://www.teamviewer.com[^]

Free for personal use and unexpensive as a professional solution.
 
Share this answer
 
Do a search for "ssh certificate based authentication" - as long as it is enabled, key-based authentication should allow you to use scp between trusted hosts.
 
Share this answer
 
Comments
Be Yourself 31-Dec-11 23:06pm    
Dear Grahm it's a good solution and I have tried it also using the fingerprint of other server in .ssh folder but for this I think u have to change a setting file parameter "Prompt for password" as no.As I don't have any setting access to server I can't do it from my end.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900