The next phase is to create a shortcut to the SAPGUI program that
launches the SAPGUI program
directly and expects an SSH connection. You create a shortcut on your desktop and you browse to the
location of the SAPGUI program (SAPGUI.EXE) which is usually in:
"C:\Program Files\SAPpc\sapgui\sapgui.exe" and you add on the parameters
that point it at your SSH connection (localhost) and to the correct system, 05 for AMS, 10 for RPT
Note: for the new SAPGUI 6.20 the path is C:\Program Files\SAP\FrontEnd\SAPgui\sapgui.exe
The shortcut will point to:
"C:\Program Files\SAP\FrontEnd\SAPguii\sapgui.exe" localhost 05
You name the shortcut
NOTE: If you also want RPT access, create a second shortcut
as described above, except enter localhost 10 instead of localhost 05
Launching AMS
Open Putty and Double click on AMS_SSH Saved Session (use AMS_SSH for either AMS or RPT access) to launch the session
and you should see a terminal window open and the very first time you will see
a security alert that you should select Yes to allow.
You should then get prompted for your username and password to which
you enter your SecurID username and a generated passcode from your SecurID card.
Ignore the "Server refused to allocate pty" message, just leave this PuTTY window open as long as you are logged in to AMS or RPT. If you have entered a
valid userid and passcode you can then immediately launch the Admin Systems
SSH shortcut you created and should get through to the normal AMS logon screen.
If instead of the "Server refused to allocate pty" message you get an "Access Denied"
message then you need to start again and enter a correct userid/passcode.
If you see an "enter next passcode" message then it means that your
SecurID card's clock has gotten out of synch and you simply keep hitting the
diamond on the card until the next passcode comes up and enter that.
At this point you should be able to launch the Admin Systems SSH shortcut you created and get a normal AMS login screen. have normal AMS or RPT logon screen!