Title: SSH problem Post by: Paul S. on October 09, 2010, 03:01:02 pm Hi, I am looking to move away from RLOGIN to SSH when using gdc.
Front End: Windows XP (SP3) , GDC 2.22.06 (latest download). Back End: Redhat EL-V3 , GENERO 2.21.xx (latest download). Putty: I have tested logging on using "putty" (the freeware software) with both rlogin and ssh , putty connects (auto logs on for rlogin, password prompt for ssh), gets to the command prompt without any problem. The enviroment is setup correctly (.bash_profile in HOME directory is used) and I can run my application from the command line. GDC RLOGIN: Using a Desktop Shortcut (target in properties) "C:\Program Files\FourJs\gdc\bin\gdc.exe" -R -a -s -T RLOGIN -H albert -e -C "@FGLKSH;cd all.4gm/menu.4gc;frun;exit 0" -M -X" , there is no problem , GDC is started, User logs onto the system , enviroment is setup, the application runs, great. Using a GDC Shortcut, (direct connection) , again no problem using RLOGIN. GDC SSH: Change protcol to SSH and I get problems. It appears as if the shortcut logs onto the system BUT does not setup the enviroment (.bash_profile in the HOME directory is not run), so it cannot find the application folder or any commands (fglrun) to perform etc... The problem occurs when using a Desktop Shortcut and A GDC Shortcut. I have attached a copy of the GDC shortcut and the Console Logs. Thanks Paul Title: Re: SSH problem Post by: . on October 09, 2010, 05:52:47 pm Hi Paul,
I would suggest trying "start a new shell" option. SSH have two modes: 1. you connect and pass the command line to ssh. 2. you connect without command, and a shell is created. I'm unfortunately not a linux expert, but I know that the environment which is used on the server differs and has to be configured differently. GDC allows you to choose which mode you need, by checking "start a new shell" option. The only thing you've to pay attention to is to add the right connection string so the command line is sent - check that the default we provide matches your server message. So using this option should do the job if login with putty and then typing your command line works. Regards, Pierre-Nicolas Title: Re: SSH problem Post by: Paul S. on October 10, 2010, 01:15:18 am Thanks , that helped, got it working now.
Paul |