Re: [gentoo-user] ssh2 and xover LAN

2006-04-06 Thread maxim wexler
 
  Hmm, so happens before I could emerge ssh2 had to
  emerge -C openssh
 
 I think you'll find that most people use the
 programs from openssh.  I
 would suggest removing net-misc/ssh (again, assuming
 this is what you
 mean by ssh2, since there is no ssh2 ebuild in the
 tree) and
 re-merging openssh.

Done.

But what's this bit at the end of the console o/p:

snip
 /usr/share/openssh/Ssh.bin
 * Remember to merge your config files in /etc/ssh/
and then
 * restart sshd: '/etc/init.d/sshd restart'.
 * 
 * As of version 3.4 the default is to enable the
UsePrivelegeSeparation
 * functionality, but please ensure that you do not
explicitly disable
 * this in your configuration as disabling it opens
security holes
 * 
 * This revision has removed your sshd user id and
replaced it with a
 * new one with UID 22.  If you have any scripts or
programs that
 * that referenced the old UID directly, you will need
to update them.
 * 
 * Please be aware users need a valid shell in
/etc/passwd
 * in order to be allowed to login.
 * 

snip

And what's this all got to do with ftp? All I ever
wanted to do was ftp files from one PC to another.
I've done it before. Very simple. I'd enter ftp
192.168.0.2(the address of the other box) at the
prompt on one box and find myself sitting at the door
to the home dir of the other box. Then I could use the
send command to pass over a file. IIRC there was never
any need for openssh or any kind of ssh. 

-Maxim

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssh2 and xover LAN

2006-04-06 Thread Richard Fish
Answers are out of order...as they will make more sense that way...

On 4/6/06, maxim wexler [EMAIL PROTECTED] wrote:
 And what's this all got to do with ftp?

Nothing at all.  But you were not running an ftp _server_ on the
machine you were trying to connect to.  I think it has already been
answered that the 'ftp' command is a client, and needs a server to
connect to.

So on the other machine, you need a server.  There are several in
portage: net-ftp/ftpd, net-ftp/proftpd are probaby the most popular,
and thus if you have problems or questions the most likely that people
will be able to help you with.

If the default configuration of the ftp server doesn't work for your
needs however, you will need to reconfigure it.  This is no more
difficult than other servers, but will require reading some
documentation, howto's, etc.

However ssh is quite a bit easier, because the default configuration
is quite usable for most tasks.  You still need a server on the other
machine (the commands 'ssh' and 'scp' are clients), but that just
means merging openssh there as well, and running '/etc/init.d/sshd
start'.

 But what's this bit at the end of the console o/p:

 snip
  /usr/share/openssh/Ssh.bin
  * Remember to merge your config files in /etc/ssh/
 and then
  * restart sshd: '/etc/init.d/sshd restart'.

This will be necessary on the server machine to restart the ssh server
in the case where it already exists.

  * As of version 3.4 the default is to enable the
 UsePrivelegeSeparation

You can ignore the rest of this output if you use the default
configuration files.  Actually, since you don't care about security
here at all, you can ignore it completely.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssh2 and xover LAN

2006-04-06 Thread maxim wexler


--- Alexander Skwar [EMAIL PROTECTED]
wrote:

 maxim wexler wrote:
 
  For Mick's benefit I used a variation of this
 command
 
 What I don't get is, is why you ask for help when
 you obviously do not want to get any help.
 
 Why don't you just start over after having read
 ESRs essay about asking questions the smart way?
 
 Because, right now you are smart - smart like
 in smart ass.


If the shoe fits wear it
or you find you have a scar
you must grin and bear it;
we are alone with what we are. 

Except perhaps, for Mr Skwar.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssh2 and xover LAN

2006-04-05 Thread maxim wexler


--- Hans-Werner Hilse [EMAIL PROTECTED] wrote:

 Hi,
 
 On Mon, 3 Apr 2006 08:44:02 -0700 (PDT) maxim wexler
 [EMAIL PROTECTED] wrote:
 
  For some reason scp concatenates the source with
 the
  destination into one non-existing path.
 
 Then why on earth don't you quote actually _useful_
 data for us to help
 you, i.e. the command you issued when you get that
 error?

from the archive:

snip
 Did the OP try something like:
 ===
 scp -p -v -c blowfish /local_box_path_to_file
 [EMAIL PROTECTED]:/mnt/hda5/


Tried ever which way; here's what I get: 
snip

Maybe English isn't your for-tay. Tried ever which
way means I used the command given by my
correspondent in many different permutations.

 
 May it even be possible that you don't use openssh's
 scp (I didn't

Hmm, so happens before I could emerge ssh2 had to
emerge -C openssh

 manage to reproduce such debug output you've cited)?
 You've neither
 specified your client and server software... Trying

if ssh2 is not the software you refer to, what is
it?

 to help you under
 these circumstances is rather pointless.

not unless the point is to appear a pompous blowhard.



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssh2 and xover LAN

2006-04-05 Thread maxim wexler


--- Mike Williams [EMAIL PROTECTED] wrote:

 On Monday 03 April 2006 16:58, maxim wexler wrote:
   what command did you issue?
 
  open sesame
 
 Well that's your problem then, there is no open
 command.

ftp *does* have an open command


 
 How about you just stop being obtuse tell us what
 command(s) you ran, exactly 
 as you ran them, not an amazingly high debug output,
 and perhaps we'll be 
 able to help.

The word is terse. If anything I have been too
terse. It's a bad habit of mine. I eschew, abhor and
execrate obtuseness and all it's works!

Oh, and what's debug output for anyways?

here's the link to the entire thread:

http://groups.google.ca/group/linux.gentoo.user/browse_thread/thread/9940b20f98fae53c/58c5b53e393eeaaa?lnk=stq=ssh2+and+xover+LANrnum=1#58c5b53e393eeaaa

I've just checked it over. The last entry from Mick
never reached my box.

For Mick's benefit I used a variation of this command

scp -p -v -c blowfish /local_box_path_to_file 

to get that odd output. But then I said that
already.





__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssh2 and xover LAN

2006-04-05 Thread Neil Bothwick
On Wed, 5 Apr 2006 15:52:19 -0700 (PDT), maxim wexler wrote:

  to help you under
  these circumstances is rather pointless.
 
 not unless the point is to appear a pompous blowhard.

~The only way someone is going to be able to help you is if they
understand the problem.Otherwise they will only be guessing, which will
waste their time and yours. In order to understand the problem, they need
to know exactly what you did, and exactly the responses you got. I tried
everything and it did not work provides no useful information. Try the
commands suggested, then cut and paste the command and its output.
Telling us you ran the command is not enough, you may have typed it
incorrectly. for example, ls -l and ls -1 are both valid but
different commands, but they look the same in some fonts, so don't
retype, paste.

Insulting people is a good way to make sure they don't help you, but so
is saying nothing. So if you want no help, I suggest the latter course
of action, it is less trouble for everyone. If you really do want people
to help you, give them the facts they need to do so in an informed way.


-- 
Neil Bothwick

God created the world in six days.  On the seventh day he also decided
to create England... just to try out his Practical Joke Weather Machine.


signature.asc
Description: PGP signature


Re: [gentoo-user] ssh2 and xover LAN

2006-04-05 Thread Richard Fish
On 4/5/06, maxim wexler [EMAIL PROTECTED] wrote:
 --- Hans-Werner Hilse [EMAIL PROTECTED] wrote:
  Then why on earth don't you quote actually _useful_
  data for us to help
  you, i.e. the command you issued when you get that
  error?

 from the archive:

 snip
  Did the OP try something like:
  ===
  scp -p -v -c blowfish /local_box_path_to_file
  [EMAIL PROTECTED]:/mnt/hda5/
 

 Tried ever which way; here's what I get:
 snip

 Maybe English isn't your for-tay. Tried ever which
 way means I used the command given by my
 correspondent in many different permutations.

Maxim, I think your english parser is broken.  Hwh, like everyone else
trying to help you, asked you to post the actual command you ran that
produced the output you posted.  That sure as hell isn't the quoted
command, because 192.168.0.3 and local_box_path_to_file doesn't
appear in the output.

From your output, I can only guess that you ran something like:

scp lp-test /home/heathen/[EMAIL PROTECTED]

When what you probably really wanted was:

scp lp-test [EMAIL PROTECTED]:

 
  May it even be possible that you don't use openssh's
  scp (I didn't

 Hmm, so happens before I could emerge ssh2 had to
 emerge -C openssh

I think you'll find that most people use the programs from openssh.  I
would suggest removing net-misc/ssh (again, assuming this is what you
mean by ssh2, since there is no ssh2 ebuild in the tree) and
re-merging openssh.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssh2 and xover LAN

2006-04-05 Thread Richard Fish
On 4/5/06, maxim wexler [EMAIL PROTECTED] wrote:
 For Mick's benefit I used a variation of this command

variation != *exact*

Most likely you have an error on your command line.  Prove us wrong.

-Richard

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssh2 and xover LAN

2006-04-04 Thread Mick
On 03/04/06, maxim wexler [EMAIL PROTECTED] wrote:

[snip]
 ``/home/heathen/[EMAIL PROTECTED]''.
 scp:Scp2/scp2.c:618/transfer_ready_cb: Received error
 SSH_FC_OK, error
 message .

 For some reason scp concatenates the source with the
 destination into one non-existing path.

This looks odd indeed.  What command line *exactly* returns the above error?
--
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssh2 and xover LAN

2006-04-03 Thread Alexander Skwar

maxim wexler wrote:


--- Bryan Whitehead [EMAIL PROTECTED] wrote:


What do you mean by xover? FTP? SCP? NFS? Coda?
HTTP?


xover==crossover. 


Yes. So? What do you mean by crossover?


quoteftp didn't work either/unquote


Aha. Why not? What error messages did you get? What's
in the logs?

Alexander Skwar
--
Q:  How do you save a drowning lawyer?
A:  Throw him a rock.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssh2 and xover LAN

2006-04-03 Thread Nick Rout
On Sun, 2 Apr 2006 17:02:37 -0700 (PDT)
maxim wexler [EMAIL PROTECTED] wrote:

 xover==crossover. 
 quoteftp didn't work either/unquote

ohhh for gods sake

what command did you issue?

what result did you get?

scp myfile [EMAIL PROTECTED]:~/

generally transfers myfile into the home directory of otheruser on the
machine another.computer.name.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssh2 and xover LAN

2006-04-03 Thread maxim wexler


--- Mick [EMAIL PROTECTED] wrote:

  Bryan Whitehead wrote:
   He said it could ping... I dunno... seems he
 just needs to figure out
   how he wants to transfer files.
 
 Did the OP try something like:
 ===
 scp -p -v -c blowfish /local_box_path_to_file
 [EMAIL PROTECTED]:/mnt/hda5/

Tried ever which way; here's what I get:

scp:SshFileCopy/sshfilecopy.c:616/connect_done_cb:
Connection to local, 
ready to serve requests.
scp:SshFCTransfer/sshfc_transfer.c:219/transfer_get_newline_conventions:

Fething source newline convention extension data.
scp:SshFCTransfer/sshfc_transfer.c:234/transfer_get_newline_conventions:

Fething dest newline convention extension data.
scp:SshFCTransfer/sshfc_transfer.c:355/transfer_prepare_base_dir:
file 
name: ``/home/heathen''
scp:SshFCTransfer/sshfc_transfer.c:411/transfer_prepare_base_dir:

basedir = /home/heathen
scp:SshFCTransfer/sshfc_transfer.c:673/transfer_stat_dest:
Statting 
destination
file ``/home/heathen/[EMAIL PROTECTED]''...
scp:SshFCTransferCore/sshfc_trcore.c:428/transfer_start_finalize:

Starting transfer for file lp-test, destination 
/home/heathen/[EMAIL PROTECTED]
lp-test | 3.3kB |
3.3kB/s | TOC: 
00:00:01 | 
100%scp:SshFCTransferCore/sshfc_trcore.c:938/transfer_write_out:
Writer 
finished.
scp:SshFCTransfer/sshfc_transfer.c:1394/transfer_close_dest:
Finished 
with file
``/home/heathen/[EMAIL PROTECTED]''.
scp:Scp2/scp2.c:618/transfer_ready_cb: Received error
SSH_FC_OK, error 
message .

For some reason scp concatenates the source with the
destination into one non-existing path.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssh2 and xover LAN

2006-04-03 Thread maxim wexler


--- Nick Rout [EMAIL PROTECTED] wrote:

 On Sun, 2 Apr 2006 17:02:37 -0700 (PDT)
 maxim wexler [EMAIL PROTECTED] wrote:
 
  xover==crossover. 
  quoteftp didn't work either/unquote
 
 ohhh for gods sake
 
Come down off your cloud, Jupiter!

 what command did you issue?

open sesame

 
 what result did you get?

We regret to inform you that Ali Baba refuses to speak
with you at this time.

 
 scp myfile [EMAIL PROTECTED]:~/

Thanks, I'll give it a whirl but see my reply to Mick.

 
 generally transfers myfile into the home directory
 of otheruser on the
 machine another.computer.name.
 -- 
 gentoo-user@gentoo.org mailing list
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssh2 and xover LAN

2006-04-03 Thread Hans-Werner Hilse
Hi,

On Mon, 3 Apr 2006 08:44:02 -0700 (PDT) maxim wexler
[EMAIL PROTECTED] wrote:

 For some reason scp concatenates the source with the
 destination into one non-existing path.

Then why on earth don't you quote actually _useful_ data for us to help
you, i.e. the command you issued when you get that error?

May it even be possible that you don't use openssh's scp (I didn't
manage to reproduce such debug output you've cited)? You've neither
specified your client and server software... Trying to help you under
these circumstances is rather pointless.


-hwh
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssh2 and xover LAN

2006-04-03 Thread Mike Williams
On Monday 03 April 2006 16:58, maxim wexler wrote:
  what command did you issue?

 open sesame

Well that's your problem then, there is no open command.

How about you just stop being obtuse tell us what command(s) you ran, exactly 
as you ran them, not an amazingly high debug output, and perhaps we'll be 
able to help.

-- 
Mike Williams
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssh2 and xover LAN

2006-04-03 Thread maxim wexler


--- Alexander Skwar [EMAIL PROTECTED]
wrote:

 maxim wexler wrote:
  
  --- Bryan Whitehead [EMAIL PROTECTED] wrote:
  
  What do you mean by xover? FTP? SCP? NFS? Coda?
  HTTP?
  
  xover==crossover. 
 
 Yes. So? What do you mean by crossover?

two PCs, one CAT5 cable w/ tx/rx lines swapped


 
  quoteftp didn't work either/unquote
 
 Aha. Why not? What error messages did you get?
 What's
 in the logs?

Basically, connection refused. 

As far as the logs went, there were none! There was a
bunch of files that were supposed to be installed
under /etc, according to the man page, which didn't
appear. But emerge went smoothly. Except I was puzzled
that I had to emerge ftpd seperately. Emerge -pv ftp
didn't mention it. When I ran ftpd -D it would not
start but there wasn't any record of why not anywhere
that I could find. There was no sign that anything was
wrong; when I entered the command, the cursor just
went to the next line without a whimper. But ps -a
told the tale.



 
 Alexander Skwar
 -- 
 Q:How do you save a drowning lawyer?
 A:Throw him a rock.
 -- 
 gentoo-user@gentoo.org mailing list
 
 



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssh2 and xover LAN

2006-04-02 Thread Mick
 Bryan Whitehead wrote:
  He said it could ping... I dunno... seems he just needs to figure out
  how he wants to transfer files.

Did the OP try something like:
===
scp -p -v -c blowfish /local_box_path_to_file
[EMAIL PROTECTED]:/mnt/hda5/
===
The above assumes:
1. Blowfish encryption for faster transfers
2. local_box_path_to_file would be something like /home/fred/file.txt
3. 192.168.0.3 is the IP address of the remote box.  Check with your
router or do a ifconfig -a on the remote box to see what IP address it
has.  If you have DNS resolution working you can always use host names
instead of IP addresses.
4. scp, sftp, ssh will only work if your have started sshd on the
remote box (rc-update -a sshd default).  Once you're done remove sshd
from the default level for security purposes, unless you have secured
you machine adequately (e.g. no direct root logins, different port to
22, etc. - read the man pages)
--
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssh2 and xover LAN

2006-04-02 Thread maxim wexler


--- Bryan Whitehead [EMAIL PROTECTED] wrote:

 What do you mean by xover? FTP? SCP? NFS? Coda?
 HTTP?

xover==crossover. 
quoteftp didn't work either/unquote

 
 On Sat, 1 Apr 2006, maxim wexler wrote:
 
  Hi everybody,
 
  Anybody got this working between two PCs and can
 tell
  me how to edit the conf files?
 
  The NICs are found, the modules are loaded, the
 net is
  up and both PCs can ping each other. But
 transferring
  files fails.
 
  FWIW tcpdump indicates the two PCs are aware of
 each
  other.
 
  ssh2 is probably overkill since security is not an
  issue but ftp didn't work either.
 
  -Maxim
 
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam
 protection around
  http://mail.yahoo.com
 
 
 -- 
 Bryan Whitehead
 Email:[EMAIL PROTECTED]
 -- 
 gentoo-user@gentoo.org mailing list
 
 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssh2 and xover LAN

2006-04-01 Thread Bryan Whitehead

What do you mean by xover? FTP? SCP? NFS? Coda? HTTP?

On Sat, 1 Apr 2006, maxim wexler wrote:


Hi everybody,

Anybody got this working between two PCs and can tell
me how to edit the conf files?

The NICs are found, the modules are loaded, the net is
up and both PCs can ping each other. But transferring
files fails.

FWIW tcpdump indicates the two PCs are aware of each
other.

ssh2 is probably overkill since security is not an
issue but ftp didn't work either.

-Maxim

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



--
Bryan Whitehead
Email:[EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssh2 and xover LAN

2006-04-01 Thread Matt Richards

Bryan Whitehead wrote:

What do you mean by xover? FTP? SCP? NFS? Coda? HTTP?

I guess by xover they mean as in 2 NIC's one cable cross wired!

Matt.


On Sat, 1 Apr 2006, maxim wexler wrote:


Hi everybody,

Anybody got this working between two PCs and can tell
me how to edit the conf files?

The NICs are found, the modules are loaded, the net is
up and both PCs can ping each other. But transferring
files fails.

FWIW tcpdump indicates the two PCs are aware of each
other.

ssh2 is probably overkill since security is not an
issue but ftp didn't work either.

-Maxim

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com





--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssh2 and xover LAN

2006-04-01 Thread Bryan Whitehead
He said it could ping... I dunno... seems he just needs to figure out how 
he wants to transfer files.


On Sat, 1 Apr 2006, Matt Richards wrote:


Bryan Whitehead wrote:

 What do you mean by xover? FTP? SCP? NFS? Coda? HTTP?

I guess by xover they mean as in 2 NIC's one cable cross wired!

Matt.


 On Sat, 1 Apr 2006, maxim wexler wrote:

  Hi everybody,
 
  Anybody got this working between two PCs and can tell

  me how to edit the conf files?
 
  The NICs are found, the modules are loaded, the net is

  up and both PCs can ping each other. But transferring
  files fails.
 
  FWIW tcpdump indicates the two PCs are aware of each

  other.
 
  ssh2 is probably overkill since security is not an

  issue but ftp didn't work either.
 
  -Maxim
 

__

  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam protection around
  http://mail.yahoo.com
 






--
Bryan Whitehead
Email:[EMAIL PROTECTED]
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] ssh2 and xover LAN

2006-04-01 Thread Matt Richards
yea sounds like it, however, ping uses ICMP and file transfer 
applications normally use TCP
i have had one case where a computer could ping stuff but nothing else 
because the tcp stacked was messed up and only icmp was working...

was a winXP box tho lol . !

Bryan Whitehead wrote:
He said it could ping... I dunno... seems he just needs to figure out 
how he wants to transfer files.


On Sat, 1 Apr 2006, Matt Richards wrote:


Bryan Whitehead wrote:

 What do you mean by xover? FTP? SCP? NFS? Coda? HTTP?

I guess by xover they mean as in 2 NIC's one cable cross wired!

Matt.


 On Sat, 1 Apr 2006, maxim wexler wrote:

  Hi everybody,
   Anybody got this working between two PCs and can tell
  me how to edit the conf files?
   The NICs are found, the modules are loaded, the net is
  up and both PCs can ping each other. But transferring
  files fails.
   FWIW tcpdump indicates the two PCs are aware of each
  other.
   ssh2 is probably overkill since security is not an
  issue but ftp didn't work either.
   -Maxim


__

  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam protection around
  http://mail.yahoo.com








--
gentoo-user@gentoo.org mailing list