General :: Why Can't 'scp' From Remote To Local Host

May 31, 2011

I am having difficulty sending files from a remote machine to local one using

Code:
scp
. It is working the other way however. local > remote. I am using the verbose options

[code]....

View 3 Replies


ADVERTISEMENT

General :: FTP From Remote Host To Local System?

Sep 27, 2010

I'm using Windows XP. I'm connecting to a UNIX box using putty SHH(ksh). Now I want to copy a text file present in remote host to my local system.

View 5 Replies View Related

General :: How To Mount Remote Samba Share From Local Host With Multiple Groups

May 6, 2010

I am using mount.cifs to mount a remote samba share (both client and server are Ubuntu server 8.04) like this:mount.cifs //sambaserver/samba /mountpath -o credentials=/path/.credentials,uid=someuser,gid=1000.I mounted a user from local system with username and password with mount.cifs but the problem is that the user is part of multiple groups on the remote system and with mount.cifs I can only specify one gid. Is there a way to specify all the gids that the remote user has?

Mount the remote samba with multiple groups on the local system?Browse the mount from 1) with the terminal since I want to pass some files from samba as arguments to local programs.which runs through gvfs; but the newer gnome does not write to disk the ~/.gvfs anymore so I can't browse it in terminal. And the last solution would be NFS but that means that I have to synchronize the uids and gids on the local system with the ones from the server.

View 1 Replies View Related

OpenSUSE :: Mount A Remote Windows Partition Onto Local Host Through Rdesktop?

Mar 26, 2011

basically i am able to connect to my other windows machine using rdesktop I want to be able to mount the window machine's partition (particularly my media folder cusermyaccountVideo) i know rdesktop ipaddr -r disk: blah blah blah mounts the partition onto the local machine however, i cant figure out what the specific commands are i tried followings but with no luck

Code:
rdesktop ipaddr -u username -p password -r :c=mntmntpoint
rdesktop ipaddr -u username -p password -r :c=mntmntpoint
rdesktop ipaddr -u username -p password -r :cmyaccountVideo=mntmntpoint

all these commands didnt work do anyone know how to do this? i thikn there must be a way

PS: no luck with smbfs as my machines arent on the same lan network (not sure if samba can connect remotely)

View 7 Replies View Related

Applications :: Scp Copy A Directory And Its Contents From A Remote Machine To Local Host

Oct 8, 2010

For the life of me I can not figure out what I am doing wrong with scp to copy a directory and its contents from a remote machine to my local host. I have no issues with getting a single file but would like to just save time and get the whole folder in one command.

Here is what I have tried:

scp user AT remoteMachine:/home/username/folderIwant user AT localMachine:/folderIwant this gives me a permission denied error and try again and received disconnect from localHost to many authentication failures

scp user AT remoteMachine:home/username/folderIwant . says can not find file or folder

I am sure this is something easy that I cant remember, and searches gives me local to remote not remote to local and trying to make the local to remote suggestions I read to work remote to local have not worked.

View 2 Replies View Related

General :: LiveCD - Terminal Like Screen Asking For Local Host Login

May 12, 2010

I have loaded the LiveCd successfully on 3 laptops, now I'm at my daughters new Toshiba & and getting a "Terminal" like screen asking for "Local Host" Login, never had this experience before.

View 6 Replies View Related

General :: Remove Files In Remote Host Using Ssh?

May 25, 2011

I need to delete all files inside remote directory using ssh P.S. The directory must not be deleted, so @Wes answer is not what I need. If it would be local dir, I would run "rm -rf dir/*"

View 4 Replies View Related

General :: How To SSH Into Remote Host Hidden Behind NAT Router

Jun 21, 2011

I can use TeamViewer to get into this remote host. It has sshd running. I would like to ssh to it. But it gives the system's IP as 192.168.xx.yy. How do I ssh into it?

View 1 Replies View Related

General :: How To Monitor Remote Host Using Nagios

Jan 14, 2011

Yesterday i install nagios, after that i can successfully monitor my local machine disk usage and its services, but now i want to monitor remote host, but have no idea how to do this , i also google alot but not getting resource full explanation.so please guys tell me how can i monitor the remote host using nagios..

View 54 Replies View Related

General :: Way To Start Script At Remote Host

Nov 13, 2010

I want to start a shell scripts(which generate traffic to test my network) at remote linux hosts from single linux local host.. If i start script at remote host through ssh, all traffic are sending from my local host also. It will create burden on my local host. If i terminate SSH connection, it stopping the script at remote host. Also i need to do ssh to all my remote hosts.

Is there any best way to do it?

View 6 Replies View Related

General :: Sending Application Log To Remote Host?

Feb 25, 2011

How is it done?Right now its just getting written in a local text file(not /var/../.., not using syslog at all).and every day a new file is being created

View 3 Replies View Related

General :: Redirect Output From Remote To Local?

Mar 29, 2011

I'm doing some commands on a remote server (using ssh to log on to the remote server, did a ssh key swap), how do i redirect the output of a command back to the local server ?the person who helps me out is my HERO i'm really stuck on this and it would bring me a lot further if i get this to work

View 14 Replies View Related

General :: Command To Find The OS Version Of Remote Host?

Dec 29, 2010

I'm in a situation, that I have no access to one of my remote server. And I CAN'T EVEN INSTALL ANY SOFTWARE in any linux boxes to determine the remote OS name and version.Can you please enlighten me on how could I find out the OS version of remote host without installing any software or without login to that server.

View 1 Replies View Related

General :: Sync Local And Remote Directories Using Rsync?

Jul 14, 2010

I have two linux box that i would like to keep in sync. I see option -avz syncs the remote with local but new local files are not pushed.

View 2 Replies View Related

General :: Transfer File From Local Mac To Remote Machine

Aug 12, 2010

How do you transfer a file from a local Mac to a remote Linux machine

View 5 Replies View Related

General :: Transfer Files From Remote To Local Machine Using SSH?

Jun 28, 2011

I have a Ubuntu server hosted on Amazon EC2. I need to create an automated backup scheme so I created another Ubuntu instance on my local network which is hosted in a virtual environment. I managed to transfer the necessary files between 2 machines on the same network using the rsync command:

rsync -azvv -e ssh /home/path/folder1/ remoteuser@remotehost.remotedomain:/home/path/folder2

How can I do the same thing but transferring files from my Amazon server to my local server? Is there a way I can achieve this with port forwarding, or by VPN, or anything else? It doesn't have to be rsync. If you know about a better method, kindly let me know.

View 2 Replies View Related

General :: Ssh Login Without Password From Local To Remote And Further To Another Remove?

Apr 15, 2011

I know I can ssh login without password from a local to a remote. My question is how I can ssh without password from the remote to another remote. Say, I have three machines: A, B, C where A is the local machine. I use the same private/public key pair for all the login. What I can do are:

1. ssh from A to B.

2. ssh from A to C.

3. If I am sitting in the computer B (or B is local), then I can ssh from B to C.

What I am not able to do is:

After I ssh from A to B, I cannot ssh from the B to C. When I try to ssh from B to C, it asks me a passphrase.

View 1 Replies View Related

General :: Move A Process From One Shell To Another (local To Remote)?

Jan 28, 2010

Is is possible to move a process from one shell to another (local to remote)

e.g.

if
my_code.sh &
#jobs
[1]- Running my_code.sh &

was started on one remote shell is it possible to move it to the foreground on another shell as root or another user?

View 5 Replies View Related

General :: Copying Files From Remote Server To Local?

Jan 26, 2011

I have a problem while copying files from a remote computer to my local one using the scp command. I am sure that I am using it correctly, please check it below:
---
blah@blah.com:~/g4work> scp blah2@blah2.com:IndirectMethod_Spher...s/H_1.mac.root .
---
What I get in return (instead of the statement saying 100% of file copied) is:
---
On this machine the G4SYSTEM=Linux-g++
---

The interesting point is that the above returned statement is one of the Environment variables set on both the machines that are necessary to work with a toolkit called Geant4. Here is what I get when I type 'printenv | grep G4' just to show you (note the statement in bold):
---
G4LEVELGAMMADATA=/home/blah/geant4/geant4.9.3.p02/data/PhotonEvaporation2.0
G4INSTALL=/home/blah/geant4/geant4.9.3.p02
G4LEDATA=/home/blah/geant4/geant4.9.3.p02/data/G4EMLOW6.9
G4NEUTRONHPDATA=/home/blah/geant4/geant4.9.3.p02/data/G4NDL3.13
G4VIS_BUILD_OPENGLX_DRIVER=1
G4RADIOACTIVEDATA=/home/blah/geant4/geant4.9.3.p02/data/RadioactiveDecay3.2
G4ABLADATA=/home/blah/geant4/geant4.9.3.p02/data/G4ABLA3.0
G4LIB=/home/blah/geant4/geant4.9.3.p02/lib
G4VIS_BUILD_RAYTRACERX_DRIVER=1
G4LIB_BUILD_SHARED=1
G4VIS_USE_OPENGLX=1
G4UI_USE_TCSH=1
G4VIS_USE_RAYTRACERX=1
G4REALSURFACEDATA=/home/blah/geant4/geant4.9.3.p02/data/RealSurface1.0
G4SYSTEM=Linux-g++
G4WORKDIR=/home/blah/g4work
---
The other thing that I would like to mention is that these Geant4 Env. Variables are loaded each time a new (bash) shell is started as a result of the bash login script.

View 6 Replies View Related

General :: NTP - Remote Host Refused An Attempted Connect Operation

Jul 24, 2011

When I do a ntpq -p on my machine I could see the ntp servers configured and it's status:

But when I telnet to ntp server "10.1.35.2" it says A remote host refused an attempted connect operation:

I know * here represents that the machine is in sync with ntp server. My question if the machine is in sync with ntp server, how does it work?why ntp port 123 is connection refused?

View 1 Replies View Related

General :: Need To Synchronize Local And Remote Directories In Real Time

May 18, 2010

I'd like to have a copy of a web site on my local drive. Then when I make changes to that copy, have those changes automatically updated on the site's server. Ideally I'd like to tell it to only do this for certain file types. Does anybody know of a way to do this with Linux?

View 2 Replies View Related

General :: Text Editing Remote Edit With Local Editor

May 26, 2010

I have a server I can ssh into, and I am also running Ubuntu. How do I edit this remote file using any program I have installed on my local Ubuntu, without copying it to local, editing it, and copying it back?

View 4 Replies View Related

General :: Playing Music From Remote Server On Local Machine Via SSH?

Oct 26, 2010

I recently purchased a linux VPS from [URL] just to learn and play around with. I currently ssh into the machine via Putty from various Windows boxes. Is there anyway to throw some mp3s on the remote server and then have them play locally? Server is currently running Ubuntu Server 10.04.1.

View 4 Replies View Related

General :: Remote Desktop Without Disturbing Local User Or Other Remotes?

Jul 13, 2011

I would like to know how can I have remote desktop to a Linux Box without any disturbance of local user or others who logged in like me .I mean exactly like remote desktop in windows 2003 or 2008 which every users who logged in remotely has it's own desktop without any disturbance of others. and is this possible to do it from fedora to ubuntu and vice versa .

View 2 Replies View Related

General :: Mounting A Local Windows CD Drive To A Remote System?

Jan 31, 2010

The situation is say all I have is a windows machine and I remotely connected via ssh to a Linux machine. Is there a way I can mount my local CD-rom on the remote Linux machine?

View 5 Replies View Related

General :: Telnet :Unable To Connect To Remote Host:Connection Refused?

Jul 3, 2011

My system is Ubuntu 11Before I typed "telnet localhost" or "telnet localhost 23". I have make this work below:$sudo apt-get install xinetd$vim /etc/xinetd.conf

defaults{
instances=60
log_type=SYSLOGauthpriv

[code]....

View 1 Replies View Related

General :: Bash Script That Read From File And Ping Remote Host

Feb 13, 2011

Q=What will this do?
A=This will read from /root/Desktop/iplist (or anywhere you want to put the list) after it reads the ip it will ping the ip two times. If the remote host is up then it will write the ip to a log. If the ping fails it will display it on the screen, write the ip to syslog so that you can do remote logging, and last it will send the ip by email to a user or a group of users.

Code:
#!/bin/bash
#wrote by Zach Underwood feb-12-2011
#test and wrote on centos 5.5 with sendmail
rm -f /root/Desktop/iplog #This will remove the good iplog
exec 9</root/Desktop/iplist #put full path the file where ip list is. Make sure that the ips are listed one per line.
while read -u9 ip
do
ping -c 2 $ip > /dev/null 2> /dev/null # ping and discard output
if [ $? -eq 0 ]; then # check the exit code
echo "$ip is up" >> /root/Desktop/iplog #write the ip of the hosts that are up
else
echo "$ip is down" # will show on the screen the ips that are not up
logger -p auth.notice "$ip is down" # will write the down host to syslog
echo "$ip is down" | mail -v -s alert user@anydomain.com > /dev/null 2> /dev/null #will send mail users about host down
fi
done

View 3 Replies View Related

General :: Telnet - Unable To Connect To Remote Host - Connection Refused

Sep 11, 2009

I did followings:

Code:

But got:

Code:

But as I tried:

Code:

It's OK.

View 1 Replies View Related

General :: Setup Rsync To Backup A Remote Directory To Local Drive?

May 24, 2010

I'm trying to setup rsync to backup a remote directory to my local drive.

I cd to the directory that I want to pull the files to, then I enter:

rsync -vrtW account@remote.com:~/public_html

I enter the password then it starts running. I get all the files listed, but none of them actually transfer. What am I missing?

View 1 Replies View Related

General :: Why Dolphin Makes Local Copy When Play A Remote .avi File

Oct 15, 2010

i am using dolphin 1.5 in kde 4.5.2. whenever i try to access movie file from remote samba server. dolphin copies the movie file to somewhere in local hard disk. so, i have to wait until a big file transferring complete. i know that it happens when i open .avi using mplayer. if i open the same remote file with kmplayer, it will player immediately instead of making local copy first. however, kmplayer is very slow and sounds and video stream breaking up, (i am sorry i do not know right english expression for this) i suppose this is not related to mplayer configuration. this seems to be dolphin problem. can i make dolphin to stop copying samba share to local disk and play instantly? there is a video in videos. it is comparing how dolphin and nautilus act differently when i play remote samba share movies.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved