LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 11-25-2005, 01:21 AM   #1
mustangfanatic01
Member
 
Registered: Jul 2005
Location: California
Distribution: Slackware 11.0, Fedora Core 5
Posts: 80

Rep: Reputation: 15
Transfer file from slack to school server


Having a problem doing this. I know they recure secure transmissions. I use WinSCP in windows so I was assuming that scp would work in linux.

ermcgrat@Slackware:~$ scp snapshot1.png ermcgrat@login.oakland.edu:/
ermcgrat@login.oakland.edu's password:
scp: /snapshot1.png: Permission denied
ermcgrat@Slackware:~$

yet:

ermcgrat@Slackware:~$ ssh login.oakland.edu
ermcgrat@login.oakland.edu's password:
[ermcgrat@grant]$ ls
bin/ html/ mail/ tmp/
[ermcgrat@grant]$

So it's not letting me use SCP anymore for some reason, but since I got in with SSH how can I upload my pics from my local /home directory? Thanks!
 
Old 11-25-2005, 01:34 AM   #2
mustangfanatic01
Member
 
Registered: Jul 2005
Location: California
Distribution: Slackware 11.0, Fedora Core 5
Posts: 80

Original Poster
Rep: Reputation: 15
To answer my own question a simple reverse scp works well

[ermcgrat@lee]$ scp 24.10.71.xxx:/home/ermcgrat/snapshot1.png .
Warning: Permanently added '24.10.71.xxx' (RSA) to the list of known hosts.
ermcgrat@24.10.71.xxx's password:
snapshot1.png 100% 744KB 44.3KB/s 00:16
[ermcgrat@lee]$ ls
mustang/ snapshot1.png wow/

Last octal changed to xxx to prevent myself from being hacked

Edit: Screenshots I was uploading for a friend who recently converted to linux.
http://personalwebs.oakland.edu/~ermcgrat/snapshot2.png
http://personalwebs.oakland.edu/~ermcgrat/snapshot2.png

Last edited by mustangfanatic01; 11-25-2005 at 01:36 AM.
 
Old 11-27-2005, 02:58 AM   #3
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
Re: Transfer file from slack to school server

Quote:
Originally posted by mustangfanatic01
ermcgrat@Slackware:~$ scp snapshot1.png ermcgrat@login.oakland.edu:/
try:
Code:
ermcgrat@Slackware:~$ scp snapshot1.png ermcgrat@login.oakland.edu:~/
you were trying to copy to your school's comp's root dir (/) - note the tilde (~/), signifiying your home dir

cheers,

O
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[most secure, open source, client/server file transfer program] Synesthesia Linux - Software 5 11-28-2005 08:20 PM
URGENT call to old school guys: Transfer a file from linux to Win95 via com1 or lpt1? khermans Linux - Networking 12 04-17-2005 05:23 PM
Linux server at school millusionist Linux - General 10 02-23-2005 01:36 PM
How to connect directly to school server? booboo808 Linux - Networking 1 12-02-2004 12:40 PM
Slack install - Setup xf86config file but don't seem to have an X server up sidewalking Slackware 12 01-08-2003 04:13 AM


All times are GMT -5. The time now is 07:16 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration