Re: How to GCC? - Bill Campbell/or anybody

From: Steve Fabac (smfabac_at_att.net)
Date: 10/04/04


Date: Mon, 04 Oct 2004 19:34:51 GMT

Moon Buggy wrote:
>
> Hi Tony...
>
> Can I also do "sftp" thru this setup?
>
> Thank you very much.
>
> "Tony Lawrence" <pcunix@gmail.com> wrote in message news:<1096803555.701757.177020@k26g2000oda.googlegroups.com>...
> > Tony Lawrence wrote:
> >
> > > But more importantly, you aren't understanding how all this works. I
> > > can pass through dozens of machines on my way to a SCO box, logging
> > in
> > > each time, and each time having that box assign a terminal type.
> > > That's completely meaningless: all that matters is what my terminal
> > > type REALLY is, and what the final SCO system thinks or is told that
> > it
> > > is. Passing through the Linux box is completely unimportant.
> > > Read http://aplawrence.com/Unixart/termcap.html
> >
> > And just to make it complete:
> >
> > You create a user on the Linux box:
> >
> > adduser tosco
> > passwd tosco
> > echo "exec telnet scobox" > ~tosco/.bash_profile
> > chmod 644 ~tosco/.bash_profile
> > # don't need or want to chown it to tosco

One thing I did not get from this thread is what the OP is using for
his end of the ssh connection. On Windows, I use TeraTermPro with
ssh extensions and commonly forward port 23 to localhost on the remote
end. This allows me to use any terminal emulator on the Windows machine
by connecting to localhost on Windows. This same feature can just as
easily be set on a per connection basis to forward port 23 to the LAN ip of
the 3.2v4.2 system: So ssh to the linux box with port forwarding port 23 to
the LAN ip of the 3.2v4.2 system.

Other uses for port forwarding: Carbon Copy over the ssh tunnel to LAN
IP of a Carbon Copy host listening for a LAN connection. ActiveFax client
over the ssh tunnel to an ActiveFax server on the company LAN (Fax from
home via the company Fax Server with company Letter head, overlay's etc.)
Reverse forwarding from UNIX localhost:port to NC.EXE on local windows
machine to use Netcat to send UNIX to home print jobs.
 

> >
> > The remote person uses an appropriate emulator for your app on
> > the SCO. She sshes to Linux, looging in as "tosco", and in turn
> > that takes her to SCO.
> >
> > I recommend having "AllowUsers tosco yourlogin" in
> > /etc/ssh/sshd_config. Don't put root in there.
> >
> > I also recommend NOT setting up user equivalency between the two
> > boxes although you can, and that would let you
> > echo "exec rlogin scobox" > ~tosco/.bash_profile

-- 
                                      Steve Fabac
                                       S.M. Fabac & Associates
                                        816/765-1670


Relevant Pages

  • Re: Help with putty code
    ... Due to the large number of bots attempting to ssh to my server, ... So to access port ... Unfortunately (under windows) the 1st attempted connection ...
    (comp.lang.c)
  • RE: Spam: Zonealarm+Windows Firewall
    ... I wanted to run an SSH server as a Windows service, ... port via port knocking only when access was needed. ... So I chose to run ZA plus the Windows firewall. ...
    (Security-Basics)
  • Re: FC6 VPN
    ... I don't know of any windows ssh client that supports X forwarding, which is want you want to be looking at. ... Anytime you make a connection between two computers you are using a tcp/ip port. ... If you need to connect to, say a windows share, you would forward your local port to the linux server through the ssh tunnel. ...
    (Fedora)
  • Re: SAMBA over SSH
    ... > I want to mount a SAMBA drive share over SSH on a Windows Box. ... You need portforwarding through the ssh tunnel for that. ... Then you have to tell smbmount to use another port than 139 ... I don't think you can tell your windows to use another port. ...
    (comp.security.ssh)
  • Re: XP Firewall blocking Linksys Print Server
    ... >> I have a Linksys PPSX1 print server on a LAN with a PC running Window ... I added an exception for port 9100. ... I suspect the Windows Firewall is also blocking ...
    (comp.security.firewalls)