Re: [U2] UV Windows SSH without telnet service

2010-06-23 Thread Wols Lists
On 23/06/10 00:12, Steve McConnell wrote:
 Mainly, I've tested with Putty and an emulator called Costar.  The
 problem we see is that the ssh server can be configured to kick off
 a .bat file. In the .bat file we configure it to run commands like
 this:

 Cd \ibm\uv Bin\uv.exe (or bin\uvsh.exe)

 This will log us into the UV account.  Once we are in there,
 terminal emulation for simple universe commands like HELP don't work
 (regardless of term type, vt100, console, adds, etc).  Our software
 uses commands like PTERM CRMODE, which doesn't work.

H. Dunno if you can do this, but the first thing to do is to check
that emulator and UV are both using the same emulation. You've hopefully
already done this, but go in to the emulator and check what it's set to,
and do a TERM in UV to make sure that's the same.

 I don't think the issue is actually ssh.  On a windows universe
 server, just opening up a cmd.exe window and running the above
 commands duplicates the problem.

That makes it sound like that is the problem. I don't know what
emulation cmd does, but I've had that problem.

What I'd do is simple. Set TERM to a type you know works elsewhere. Set
your emulator to raw so it displays all the characters it receives. And
then write a basic program to spit out various @(-x) sequences so you
can check what's actually being sent. Because it sounds like either (a)
you've got a mismatch between the emulation on UV and your terminal
prog, or (b) (nasty), ssh is stripping escape sequences as it passes
stuff through.

Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] UV Windows SSH without telnet service

2010-06-22 Thread Steve McConnell
Mainly, I've tested with Putty and an emulator called Costar.  The
problem we see is that the ssh server can be configured to kick off a
.bat file. In the .bat file we configure it to run commands like this:

Cd \ibm\uv
Bin\uv.exe (or bin\uvsh.exe)

This will log us into the UV account.  Once we are in there, terminal
emulation for simple universe commands like HELP don't work (regardless
of term type, vt100, console, adds, etc).  Our software uses commands
like PTERM CRMODE, which doesn't work. 

I don't think the issue is actually ssh.  On a windows universe server,
just opening up a cmd.exe window and running the above commands
duplicates the problem.

After talking with Rocket, it doesn't appear ssh on Windows (without
running the telnet service) will work.  


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Larry Hiscock
Sent: Friday, June 18, 2010 4:51 PM
To: 'U2 Users List'
Subject: Re: [U2] UV Windows SSH without telnet service

I've never run an sshd service on Windows, but we do it all the time on
Linux.  We usually shut telnet down completely.  Terminal emulation
should
be identical between telnet and ssh.  What terminal emulator / ssh
client
are you using?

Larry Hiscock
Western Computer Services


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Steve
McConnell
Sent: Friday, June 18, 2010 4:45 PM
To: U2 Users List
Subject: [U2] UV Windows SSH without telnet service

We have a user running on a Windows UniVerse server who has a security
requirement which forbids running any telnet services.  They want to use
ssh to connect and have installed bitvise winsshd.  It allows us to kick
of a uvsh.exe upon authentication.  We are able to login to our software
or the uv account fine.  But, once we are in, we are having serious
terminal emulation problems.  I haven't found a term type which will
work. vt100, console, ansi, etc all display incorrectly (CRLF looks like
LF).   Commands such as PTERM CRMODE do not work, etc.


Has anyone out there connected to a UniVerse windows server without the
telnet service via ssh?

Steve McConnell
Columbia Ultimate

 


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] UV Windows SSH without telnet service

2010-06-20 Thread Wols Lists
On 19/06/10 00:45, Steve McConnell wrote:
 We have a user running on a Windows UniVerse server who has a security
 requirement which forbids running any telnet services.  They want to use
 ssh to connect and have installed bitvise winsshd.  It allows us to kick
 of a uvsh.exe upon authentication.  We are able to login to our software
 or the uv account fine.  But, once we are in, we are having serious
 terminal emulation problems.  I haven't found a term type which will
 work. vt100, console, ansi, etc all display incorrectly (CRLF looks like
 LF).   Commands such as PTERM CRMODE do not work, etc.
   

One has to ask where is the problem. What terminal emulator are you
running over ssh?
Does it work fine without ssh in the way? Or is bitvise the terminal
emulator?

My personal experience is that pretty much EVERY terminal emulator I've
used is broken out of the box, and I've had to do some work fixing it.
Provided you have access to both the sequences sent (a pain but not
seriously so on UV) and to the emulator's config so you can tell it how
to react to received sequences (dead easy on wIntegrate, not so easy on
some others), fixing it isn't a problem.

Or is it winsshd is corrupting the sequences in transit ... OUCH!

 Has anyone out there connected to a UniVerse windows server without the
 telnet service via ssh?

   
I get the impression from this mailing list, running over ssh is quite
normal.

Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] UV Windows SSH without telnet service

2010-06-20 Thread Steve Romanow

On 6/20/2010 6:38 PM, Wols Lists wrote:

On 19/06/10 00:45, Steve McConnell wrote:
   

We have a user running on a Windows UniVerse server who has a security
requirement which forbids running any telnet services.  They want to use
ssh to connect and have installed bitvise winsshd.  It allows us to kick
of a uvsh.exe upon authentication.  We are able to login to our software
or the uv account fine.  But, once we are in, we are having serious
terminal emulation problems.  I haven't found a term type which will
work. vt100, console, ansi, etc all display incorrectly (CRLF looks like
LF).   Commands such as PTERM CRMODE do not work, etc.

 

One has to ask where is the problem. What terminal emulator are you
running over ssh?
Does it work fine without ssh in the way? Or is bitvise the terminal
emulator?

My personal experience is that pretty much EVERY terminal emulator I've
used is broken out of the box, and I've had to do some work fixing it.
Provided you have access to both the sequences sent (a pain but not
seriously so on UV) and to the emulator's config so you can tell it how
to react to received sequences (dead easy on wIntegrate, not so easy on
some others), fixing it isn't a problem.

Or is it winsshd is corrupting the sequences in transit ... OUCH!
   

Has anyone out there connected to a UniVerse windows server without the
telnet service via ssh?


 

I get the impression from this mailing list, running over ssh is quite
normal.

Cheers,
Wol
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
   
We use ssh but we are using aix.  I agree with Wol that every software I 
have used (I tried many setups) all required work in TERM.DEFN to make 
work.  Are you using just UV or SB+ also?

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


[U2] UV Windows SSH without telnet service

2010-06-18 Thread Steve McConnell
We have a user running on a Windows UniVerse server who has a security
requirement which forbids running any telnet services.  They want to use
ssh to connect and have installed bitvise winsshd.  It allows us to kick
of a uvsh.exe upon authentication.  We are able to login to our software
or the uv account fine.  But, once we are in, we are having serious
terminal emulation problems.  I haven't found a term type which will
work. vt100, console, ansi, etc all display incorrectly (CRLF looks like
LF).   Commands such as PTERM CRMODE do not work, etc.


Has anyone out there connected to a UniVerse windows server without the
telnet service via ssh?

Steve McConnell
Columbia Ultimate

 


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] UV Windows SSH without telnet service

2010-06-18 Thread Larry Hiscock
I've never run an sshd service on Windows, but we do it all the time on
Linux.  We usually shut telnet down completely.  Terminal emulation should
be identical between telnet and ssh.  What terminal emulator / ssh client
are you using?

Larry Hiscock
Western Computer Services


-Original Message-
From: u2-users-boun...@listserver.u2ug.org
[mailto:u2-users-boun...@listserver.u2ug.org] On Behalf Of Steve McConnell
Sent: Friday, June 18, 2010 4:45 PM
To: U2 Users List
Subject: [U2] UV Windows SSH without telnet service

We have a user running on a Windows UniVerse server who has a security
requirement which forbids running any telnet services.  They want to use
ssh to connect and have installed bitvise winsshd.  It allows us to kick
of a uvsh.exe upon authentication.  We are able to login to our software
or the uv account fine.  But, once we are in, we are having serious
terminal emulation problems.  I haven't found a term type which will
work. vt100, console, ansi, etc all display incorrectly (CRLF looks like
LF).   Commands such as PTERM CRMODE do not work, etc.


Has anyone out there connected to a UniVerse windows server without the
telnet service via ssh?

Steve McConnell
Columbia Ultimate

 


___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] UV Windows SSH without telnet service

2010-06-18 Thread Bob Rasmussen
The most recent issue of Spectrum magazine detailed a process which I will 
summarize here:

1. Use PuTTY to establish an SSH session from Windows client to Windows 
server.

2. In Putty, open a local port forward, so that a particular socket on the 
client is forwarded to the server.

3. Run your favorite telnet client, in telnet mode, to connect to 
localhost and the socket (port) referenced in item 2 above.

The telnet client connects to the local port, which forwards it (within 
the secure SSH connection) to the server. The SSH daemon on the server 
forwards the connection to the telnet port (usually 23) on the server, 
wher UV receives it. As far as UV is concerned, it is running telnet. 
However, all external traffic is authenticated and encrypted.

On Fri, 18 Jun 2010, Steve McConnell wrote:

 We have a user running on a Windows UniVerse server who has a security
 requirement which forbids running any telnet services.  They want to use
 ssh to connect and have installed bitvise winsshd.  It allows us to kick
 of a uvsh.exe upon authentication.  We are able to login to our software
 or the uv account fine.  But, once we are in, we are having serious
 terminal emulation problems.  I haven't found a term type which will
 work. vt100, console, ansi, etc all display incorrectly (CRLF looks like
 LF).   Commands such as PTERM CRMODE do not work, etc.
 
 
 Has anyone out there connected to a UniVerse windows server without the
 telnet service via ssh?
 
 Steve McConnell
 Columbia Ultimate
 
  
 
 
 ___
 U2-Users mailing list
 U2-Users@listserver.u2ug.org
 http://listserver.u2ug.org/mailman/listinfo/u2-users
 
 

Regards,
Bob Rasmussen,   President,   Rasmussen Software, Inc.

personal e-mail: r...@anzio.com
 company e-mail: r...@anzio.com
  voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
fax: (US) 503-624-0760
web: http://www.anzio.com
 street address: Rasmussen Software, Inc.
 10240 SW Nimbus, Suite L9
 Portland, OR  97223  USA
___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users


Re: [U2] UV Windows SSH without telnet service

2010-06-18 Thread Bill Haskett
AccuTerm is SSH enabled.  You can use it to connect to the WinSSHD 
server then forward that, via telnet, to the UV server.


HTH,

Bill


Steve McConnell said the following on 6/18/2010 4:45 PM:

We have a user running on a Windows UniVerse server who has a security
requirement which forbids running any telnet services.  They want to use
ssh to connect and have installed bitvise winsshd.  It allows us to kick
of a uvsh.exe upon authentication.  We are able to login to our software
or the uv account fine.  But, once we are in, we are having serious
terminal emulation problems.  I haven't found a term type which will
work. vt100, console, ansi, etc all display incorrectly (CRLF looks like
LF).   Commands such as PTERM CRMODE do not work, etc.


Has anyone out there connected to a UniVerse windows server without the
telnet service via ssh?

Steve McConnell
Columbia Ultimate




___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users
   

___
U2-Users mailing list
U2-Users@listserver.u2ug.org
http://listserver.u2ug.org/mailman/listinfo/u2-users