Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ok, this isn't under Linux, it's BSDi using FSecure SSH. I have a shell script set up to scp files between two boxes. The script works fine from the command line, but when called from Cron, nothing happens. The script executes, but the scp line doesn't work. The script uses absolute paths to scp as well as the source and dest files, so I'm not sure what the heck's up. If I redirect output of scp to a file, it gets this:
warning: Development-time debugging not compiled in.
warning: To enable, configure with --enable-debug and recompile.
Connection lost.
The bad thing is that I remember that this is the same problem that a British buddie of mine had. We (he) eventually worked it out, but I can't remember what was the solution (it was something like 2 or 3 years ago)
Originally posted by rootboy The bad thing is that I remember that this is the same problem that a British buddie of mine had. We (he) eventually worked it out, but I can't remember what was the solution (it was something like 2 or 3 years ago)
Sorry!
John
You don't happen to still have his e-mail address do you?
Actually no, since at the time I hung out at (and still do) "Linux Coffee Talk" (http://www.everythinglinux.org/cgi-bin/lct/lct.pl). But NetSol sold off Michael's "WWW.EUNUCHS.ORG" name and we lost a bunch of members. Neil included...
I'll see if Michael can come up with his email address, but don't get your hopes up.
Oh, and yes, Network Solutions should have their butts kicked.
What happened was that NetSol found a guy who was willing to pay more for the site and he got it. No ifs, ands, or buts about it...
(The new guy has decently has provided a link to Mike's new site, which has probably increased traffic to LCT, so he's okay by me). But for a couple of weeks we limped along by taking over Mike's Solaris site (which the Solaris folks kindly put up with).
It was sort of an "All your forum are belong to us" moment
Ahh, having said all this (maybe I needed to vent), I fired up LCT's wayback machine and got Neil's email address. When you talk to him, ask him to stop by and say hello
Ok, this isn't under Linux, it's BSDi using FSecure SSH. I have a shell script set up to scp files between two boxes. The script works fine from the command line, but when called from Cron, nothing happens. The script executes, but the scp line doesn't work. The script uses absolute paths to scp as well as the source and dest files, so I'm not sure what the heck's up. If I redirect output of scp to a file, it gets this:
warning: Development-time debugging not compiled in.
warning: To enable, configure with --enable-debug and recompile.
Connection lost.
So I'm not sure why the connection is lost.
Any ideas?
Thanks!
Tony
Hi,
Someone have a sollution for this? I have this same problem and I don't understand why. Looking to my log files I saw that cron was executing the script and I saw that the server receveid the connections without erros.
So, what happens? Some one have an idea?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.