Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Copying files from laptop to remote server using SSH Post 302097089 by patwa on Tuesday 21st of November 2006 02:08:37 PM
Old 11-21-2006
Hi thanks for the link and I do appreciate it.

Part of the problem is that I don't seem to have the man feature on my cygwin setup - when I type command man I just get an error saying it couldn't be found.

Anyway, for the file transfer, I'm still confused. I'm thinking I need to wrap the files into an archive first, right? And then transfer?

but I'm not sure about the actual command syntax to do the transfer. From my laptop to the server would be easy, as I'm already in the directory I want to transfer from, but...

when I log into the server, and then do a pwd, I get /home/student/cs/username/ and this is my home directory.

I have a username and password to log into my part of the server. that logs me into the directory referenced above.

I usually ssh with ssh -l username server.csd.uni.ac.uk and then it asks me for the password.

So would I be transferring to the full path on the server, presumably server.csd.uni.ac.uk/home/student/cs/username, or would I be going to just the server, and then somehow using the login to map to the directory?

When transferring to the laptop, would I use the IP address as the pointer to the laptop, and then what path do I use to the home directory for cygwin? I'm guessing it wouldn't be C:\cygwin\home\H as this is Windows speak.

sorry, but as I said, total newbie to this and I've pretty much only got to gripswith the bear minimum I need to function, which is handling files on the server itself, but now I want to be able to take work home with me and upload it back when I've worked on it.

Thanks for your patience and for bearing with me.

Hussein.
 

10 More Discussions You Might Find Interesting

1. AIX

copying files to a remote aix server using tar!

Hi, I am using AIX 5.2, and I want to copy some files from one server to a remote server using tar command. Can anybody tell me exact command? Thanks. Aqeel (2 Replies)
Discussion started by: system-admin
2 Replies

2. UNIX for Dummies Questions & Answers

Copying files from a remote server to local system with cygwin

Hi. I'm sorry if I get on people's nerves asking this, but I don't really understand how to do this and unfortunately don't have the time to work through it step by step in books, etc. At University, we have a unix server that hosts our files. we each have a login and password to access it. I... (3 Replies)
Discussion started by: patwa
3 Replies

3. Shell Programming and Scripting

copying files from remote computer

hi, i want to copy files from a remote computer in a network to a specific directory on my PC. ( script ) Forexample , IP of the remote PC is 172.16.5.24 login:aaaa Passw:123 /folder1/file1.txt to my pc folder /fd/awa.txt kinldy help Thanks (2 Replies)
Discussion started by: krabu
2 Replies

4. UNIX for Dummies Questions & Answers

Problem setting up SSH keys between my laptop and a server.

This is probably somewhat trivial but it's driving me crazy. I have 6 servers with identical configurations. I'm trying to set up ssh keys between my laptop (windows XP using cygwin) and these servers (rhel). On 5 of the machines this works perfectly, but on one, no matter what I do, it gives me a... (2 Replies)
Discussion started by: DeCoTwc
2 Replies

5. UNIX for Dummies Questions & Answers

Long listing of files using find command on remote server via SSH

Hi , I am trying to find some files on a remote machine using the find command. >ssh -q atukuri@remotehostname find /home/atukuri/ -name abc.txt /home/atukuri/abc.txt The above command works fine and lists the file, but if I want to do a long listing of files (ls -l) its not working . ... (2 Replies)
Discussion started by: atukuri
2 Replies

6. UNIX for Dummies Questions & Answers

Help with Copying files between two remote servers

Hi All, Please help me for a shell. I am a New to unix I am trying to DB dump file from one server and copying it to another server. From My Local ServerA connecting to remote ServerB using ssh and taking dump of a instance. That Dump file i need to copy to ServerC. I am able to connect... (6 Replies)
Discussion started by: maddyd2k
6 Replies

7. Shell Programming and Scripting

Multi server access through remote server using ssh

Team, Presently I have 5 ip address kept in ip_abc1 file, for each of the ip address listed, i need to login on each ipaddress one at a time and login as below for that specific ip address ssh -p 8101 karaf@<ip.address_for the specific ip address as logged in> password features:list... (4 Replies)
Discussion started by: whizkidash
4 Replies

8. Shell Programming and Scripting

Script connect to remote server, not find files and exit only from remote server, but not from scrip

I have a script, which connecting to remote server and first checks, if the files are there by timestamp. If not I want the script exit without error. Below is a code TARFILE=${NAME}.tar TARGZFILE=${NAME}.tar.gz ssh ${DESTSERVNAME} 'cd /export/home/iciprod/download/let/monthly;... (3 Replies)
Discussion started by: digioleg54
3 Replies

9. Shell Programming and Scripting

Copying files to remote server

I am trying to copy code to remote server, doing something like this However it is copying one file and than the script exits i=0; j=0 while read fn; do dir=${fn%/*} # Gets directory path fnm=${fn##*/} # Gets filename excl. path rgx_nwk="s/${nwk}/${nwk}.sac/g" ... (2 Replies)
Discussion started by: kristinu
2 Replies

10. Shell Programming and Scripting

Copying a text file from my Ubuntu Windows Sub System to a remote instance through SSH

*Following questions involves use of YAML, BASH, SSH and Software called Ansible* I am trying to learn how to use a Linux environment (in my case a Ubuntu Windows Sub System) to copy a text file from my files to a remote instance (in this case Amazon Web Services) by connecting via SSH. I... (8 Replies)
Discussion started by: Suhaba
8 Replies
libroar(7)						System Manager's Manual: RoarAuido						libroar(7)

NAME
libroar - RoarAudio sound library SYNOPSIS
#include <roaraudio.h> DESCRIPTION
libroar is a central library used to comunicate with RoarAudio servers. It supports all commands from simple commands to play some audio up to complex commands to controll the server and do nice things over the network. It also includes several useful functions from buffer mangement to IO abstraction. EXAMPLES
The basic tools shiped with RoarAudio are designed to also work as examples for the lib. You may start by looking at roarcat(1)s source code as an example on how to simply play back some audio. A more complex example is roarvorbis(1) which also includes meta data updates. You should also have a look at VS API, see roarvs(7) for a overview. TUTORIALS
Tutorials can be found in roartut(7). ENVIRONMENT VARIABLES
The following variables are used in libroar itself so they are common to all clients using libroar. HOME The users home directory. ROAR_SERVER The address of the listening server. This may be in form of host:port for TCP/IP connections and /path/to/sock for UNIX Domain Sock- ets. If a value of '+fork' is given a roard is forked and used. This roard will not listen on any sockets so it is used exclusiv by this client. See roard(1) for more information. ROAR_PROXY Set the type of the proxy being used to connect to the server. Valid values are 'socks4', 'socks4a', 'socks4d', 'http' and 'ssh' for the moment. You can add type depending options in form 'type/opts'. socks_proxy The SOCKS4/4a/4d/5 proxy to use in form [user@]host[:port]. Default port is 9050. http_proxy, https_proxy The HTTP/HTTPS Proxy server. This server needs to understand the CONNECT request type. Give the server name in this format: [http://]host[:port][/] The default port is 8080. ssh_proxy The remote host to use as SSH Proxy server. Give the server name in this format: [user@]host[:port] The default port is 22. Note that you may need to use publickey based auth or ssh-agent because the application may start SSH in a non interactive environment and SSH can not ask you for a password. FILES
/etc/roarserver This is a symlink to the server socket. If all types of server addresses are supported. Example: ln -s /tmp/roar /etc/roarserver ln -s somehost /etc/roarserver ln -s mynode:: /etc/roarserver BUGS
A lot... SEE ALSO
roar-config(1), roartypes(1), roarvs(7), roartut(7), roard(1), roartips(7), RoarAudio(7). HISTORY
See RoarAudio(7). RoarAudio June 2011 libroar(7)
All times are GMT -4. The time now is 11:37 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy