reverse SSH / SSH over NAT traversal
by Konstantin Svist
Hi all,
I'm trying to connect to a remote host to do some simple support. The
remote host is behind a NAT/firewall and it's not possible to ask the
admin to tunnel a port. The remote host has a live person working on it
(a linux newbie).
The question is, can the remote user type in some command in their
terminal to connect (SSH?) to my network - and thereby allow me to get a
terminal on the remote machine. I think this is possible with a reverse
SSH tunnel - but I don't really want to allow the remote user any access
to my system. It's probably possible to set up some chroot or otherwise
locked out environment (/bin/nologin ?), but I want to first check if
there are any simpler options.
A better question: is it possible to establish an SSH connection if both
networks have NAT/firewalls that can't be easily controlled? I know some
programs (e.g. skype) are able to traverse NATs by various means (UDP).
Can some tunnel of this sort be established so that an SSH connection
can be established on top of that?
Thanks!
16 years, 8 months
Cron emails
by Mike Chambers
Hi there,
These past few days, it seems my FC7 box (also my mail/http server) have
stopped sending me emails from crontab scripts that run. For instance I
don't get my nightly epylogs, nor from any of my crond scripts that I
have in the cron.x directories. I ran my epylog one manually and it got
sent. So it's not like it won't do it at all, just not on it's own.
Maybe the scripts aren't getting ran? As in cron is broke or something?
I didn't do anything to the box myself, as it only gets updates from
updates and testing but that's it. No other programs have been added or
removed.
Just wondering if a recent update may have contributed as I cdan't
remember the last one.
Ideas?
--
Mike Chambers
Madisonville, KY
"Best little town on Earth!"
16 years, 8 months
Where is the overall list and descriptions of F7 packages?
by Stanley A. Klein
For FC5 there is a collection of wiki pages that identify and describe all
the extras and their versions with links to rpm downloads. It is useful
for browsing to see what packages are available and for determining if
there is an FC5 rpm for a package that someone is interested in
installing.
Where is the equivalent for F7?
Stan Klein
16 years, 8 months
yum problem
by François Patte
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Bonjour,
I have a problem with yum. Here is my config file for repo atrpms:
[atrpms]
name=Atrpms
baseurl=http://dl.atrpms.net/fc6-i386/atrpms/stable
enabled=0
gpgcheck=1
Then I execute the command
yum --enablerepo=atrpms install something
I get this message:
Loading "installonlyn" plugin
Running "config" handler for "installonlyn" plugin
Cannot find a valid baseurl for repo: atrpms
Take any browser and go to the address given and there is absolutely no
problem... This address is valid.
What's wrong?
Thank you
- --
François Patte
UFR de mathématiques et informatique
Université Paris Descartes
http://www.math-info.univ-paris5.fr/~patte
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Remi - http://enigmail.mozdev.org
iD8DBQFG3muzdE6C2dhV2JURAgrxAJ9yFNkZRyG40h19/UbnPU8Wcez5vwCfdnCw
MQauMnXPmZdIhi5nhBdc4Gs=
=zGaj
-----END PGP SIGNATURE-----
16 years, 8 months
problem printing.
by Steven W. Orr
I have a postscript printer on an FC4 parallel port. It works great. I'm
running cups on port 631.
[root@saturn cups]# netstat -tulpn | grep :631
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 16044/cupsd
tcp 0 0 192.168.0.101:631 0.0.0.0:* LISTEN 16044/cupsd
On my new F7 box I configured it to know about the printer using
system-config-printer. The device URI is socket://saturn:631 and cups is
running.
[root@pluto ~]# netstat -tulpn | grep :631
tcp 0 0 0.0.0.0:631 0.0.0.0:* LISTEN 1793/cupsd
tcp 0 0 :::631 :::* LISTEN 1793/cupsd
udp 0 0 0.0.0.0:631 0.0.0.0:* 1793/cupsd
When I print something on the F7 box, nothing happens. Here's lpstat
output:
[root@pluto ~]# lpstat
hp1320-saturn-3 root 1024 Tue 04 Sep 2007 05:30:13 PM EDT
hp1320-saturn-5 root 1024 Tue 04 Sep 2007 09:38:23 PM EDT
I'm stumped. Anyone know what I should do or what else I can do to get
more info?
TIA
--
Time flies like the wind. Fruit flies like a banana. Stranger things have .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net
16 years, 8 months
Mystery of device names
by Timothy Murphy
When I attached my laptop with ethernet to an ADSL modem
on my travels it chose to use dev10788 as device;
I've no idea where it got this name from.
I tried to persuade it to use eth0, eth1 or eth2
without success.
So it seemed simplest to fit in with its desire,
and I added an entry /etc/sysconfig/network-scripts/ifcfg-dev10788 ,
and added "alias dev10788 e100" to /etc/modprobe.conf .
This has worked perfectly for several days.
I've noticed before that computers often seem to insist
on using a particular device,
without any particular reason as far as I can see.
Eg a WiFi card might work as eth1 but not as eth0,
no matter how hard one tries to persuade it.
Can some guru explain this to me, please?
--
Timothy Murphy
e-mail (<80k only): tim /at/ birdsnest.maths.tcd.ie
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Tridev10788nity College, Dublin 2, Ireland
16 years, 8 months
using Miro
by kwhiskerz
I have Sun Java 1.6.0_02. Think I should switch to the open java that is
installed with Fedora by default?
16 years, 8 months
I don-t get messages in /var/log/messages anymore
by Leif Hetlesæther
Hi
Found out today no messages has been written to my /var/log/messages
since last friday. It seems to have stopped after i istalled azureus. My
last entry in the messages log is:
Aug 29 14:07:59 mozart yum: Installed: libgcj.i386 4.1.2-12
Aug 29 14:07:59 mozart yum: Installed: jpackage-utils.noarch
1.7.3-1jpp.3.fc7
Aug 29 14:08:00 mozart yum: Installed: glib-java.i386 0.2.6-8.fc7
Aug 29 14:08:01 mozart yum: Installed: cairo-java.i386 1.0.5-7.fc7
Aug 29 14:08:01 mozart yum: Installed: libgtk-java.i386 2.8.7-4.fc7
Aug 29 14:08:02 mozart yum: Installed: libgconf-java.i386 2.12.4-8.fc7
Aug 29 14:08:04 mozart yum: Installed: java-1.5.0-gcj.i386 1.5.0.0-14.fc7
Aug 29 14:08:05 mozart yum: Installed: jakarta-commons-lang.i386
2.1-6jpp.1.fc7
Aug 29 14:08:06 mozart yum: Installed: sinjdoc.i386 0.5-4.fc7
Aug 29 14:08:06 mozart yum: Installed: java_cup.i386 1:0.10-0.k.6jpp.1
Aug 29 14:08:07 mozart yum: Installed: jakarta-commons-logging.i386
1.0.4-6jpp.1
Aug 29 14:08:08 mozart yum: Installed: jakarta-commons-cli.i386
1.0-6jpp_10.fc6
Aug 29 14:08:09 mozart yum: Installed: libswt3-gtk2.i386 1:3.2.2-15.fc7
Aug 29 14:08:11 mozart yum: Installed: bouncycastle.i386 1.34-3.fc7
Aug 29 14:08:12 mozart yum: Installed: xml-commons-apis.i386
1.3.03-0jpp.1.fc7
Aug 29 14:08:13 mozart yum: Installed: log4j.i386 1.2.13-3jpp.2
Aug 29 14:08:19 mozart yum: Installed: azureus.i386 2.5.0.4-2.fc7
Aug 29 14:11:47 mozart kernel: Kernel logging (proc) stopped.
Aug 29 14:11:47 mozart kernel: Kernel log daemon terminating.
Aug 29 14:11:48 mozart exiting on signal 15
Tried to restart syslog, reboot, looked in my syslog config files but no
luck.
my *.info messages has vanished. Tried adding mail.* to the
/var/log/messages, and it got logged.
Need some advice how to find out what is going wrong.
Running 2.6.22.4-65.fc7
Regards
Leif Hetlesaether
16 years, 8 months
Canon Elura 100 Camcorder and FC5
by Robert L Cochran
I gave my wife a Canon Elura 100 camcorder for Christmas. I just watched
her download her very first movie to Windows XP. Can I do the same in
Fedora Core 5? If I just plugged in the camcorder to my onboard 1394
port, will an application come up recognizing the camcorder and offering
to download the movie from the DV tape?
Thanks
Bob
16 years, 8 months
CentOS PPP
by tony.chamberlain@lemko.com
Hello
I set up PPP earlier (dial in) to a Red Hat system. I did this:
In /etc/inittab: S0:2345:respawn:/sbin/mgetty ttyS0 -x7 -D /dev/ttyS0
kill -1 1
In /etc/mgetty+sendfax/login.config: /AutoPPP/ - * /usr/sbin/pppd auth -chap +pap login debug modem crtscts
In /etc/ppp/pap-secrets:
fred * sanford *
dick * vandyke *
in options.ttyS0: 10.0.0.141:10.0.0.149
in /etc/sysctl.conf : net.ipv4.ip_forward = 1
in /etc/sysconfig/network: NETWORKING=YES
and in /etc/ppp/options:lock
debug
dump
logfile /tmp/pppd_debug.log
noccp
nodeflate
proxyarp
silent
This worked. I believe I recorded everything I did. Then I tried this on a CentOS 4.5. It gets to "verifying user name and
password" but then never responds. Oh and yes I did try logging in with a regular hyperterm (non PPP) to be sure the login/pwd
combinations work, so that is not the problem. (Yes, they are something other then fred/sanford and dick/vandyke actually.
I just used those as an example).
Anyway I can't get in and I don't see anything in /var/log/messages (nor /tmp/pppd_debug.log).
Is there something I am missing? This is actually a disk replacement, so everything on the client side
of my dialup remains the same (number, login, password, etc).
Thanks
16 years, 8 months