Hi James

It's working now. The problem all along was a syntax issue. I made a script
for them to copy things automatically, after inputting their information
interactively. I made a syntax error in the &&#$ script. Ugh.

Thanks for helping though!

Anne

-----Original Message-----
From: James Carlson [mailto:[EMAIL PROTECTED] 
Sent: Friday, May 25, 2007 12:56 PM
To: Anne
Cc: [email protected]
Subject: RE: [osol-discuss] scp not working for non-root users - denied

Anne writes:
> This is odd, because the remove user has full permissions on that
directory.
> And the person can SSH into the box without an issue. But when they 
> run this
> command:
> 
> $ scp /home/tclark/* [EMAIL PROTECTED]:/backup/tclark
> 
> Then it prompts for password, like so:
> 
> [EMAIL PROTECTED]'s password: 
> 
> 
> User types in password and then gets "(permission denied)".

There's no message I know of that looks exactly like that.  We have this
one:

  Permission denied
(gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive).
  lost connection

... which means that the user name or password are wrong and this one:

  scp: /foobar: Permission denied

... which means that the user doesn't have permission to write to the remote
directory, and then this one:

  /etc/inet/secret/foo: Permission denied

... which means that the local user is unable to read the file being
transferred.

Can you clarify *exactly* what message you see?

> Doesn't make sense to me as the password is definitely correct and the 
> it's the users own home directory of which he has full permission to 
> on both machines.

Still need more details, including the exact error message.

> Any ideas?

Check the directory and file permissions.

-- 
James Carlson, Solaris Networking              <[EMAIL PROTECTED]>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to