Subscribe for automatic updates: RSS icon RSS

Login icon Sign in for full access | Help icon Help
Advanced search

Pages: [1]
  Reply  |  Print  
Author Topic: SSH problem  (Read 10136 times)
Paul S.
Posts: 45


« 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

* gdc-config.txt (2.61 KB - downloaded 863 times.)
* consolelogRLOGIN.txt (45.01 KB - downloaded 1207 times.)
* consolelogSSH.txt (1.43 KB - downloaded 909 times.)
.
Four Js
Posts: 115


« Reply #1 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
Paul S.
Posts: 45


« Reply #2 on: October 10, 2010, 01:15:18 am »

Thanks , that helped, got it working now.

Paul
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.21 | SMF © 2015, Simple Machines