Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 273 results for
scp
- Page 1
scp
Hardware and Software
Linux and Unix
11 Years Ago
by lewashby
lfs@debian:~$
scp
output garrett@192.168.1.10:/home/garrett ssh: connect to host 192.168.1.10 port 22: Connection refused lost connection lfs@debian:~$ Why is the above not working? I am wasily able to ssh from on computer to the other, why will
scp
not work here? output is just a simple text file.
Re: Scp Script?
Programming
Software Development
11 Years Ago
by Watael
hi, it depends on how you intend to
scp
files if you
scp
them all at one time, a bit like you'd… loop, you could echo filenames to a log file when
scp
fails something like this, but it's much longer for… file in ./* do
scp
"$file" user@server || echo "$file" >…
Scp Script?
Programming
Software Development
11 Years Ago
by manujkathuria
Hi, I would like to write a script to
scp
files from 1 server to other but the problem is if
scp
fails maybe because of server crash or somthing like that, i would like to start
scp
from the last file. i dont want to copy all the files again. Any ideas? Thanks Manuj
SCP file copy failed in windows machine
Programming
Software Development
13 Years Ago
by jaango123
Hi All, The command is perfectly working in a Linux machine, but getting a filecopy failed error in windows machine. copy
scp
://user@ipaddress/sourcefile loca:///destination I guess we have to specify the domain name also in the windows server, as the username is domain/user. Please help. Any other option other than
scp
.
scp specifying password
Programming
Software Development
12 Years Ago
by k2k
Im trying to
scp
including password in one line... seems not working. [code] echo "pass" |
scp
--stdin source destination [/code] However this does work though [code]echo "newpass" | passwd --stdin user [/code] same concept, diff result. Any suggestion would be great. Thanks
scp script bypass password
Programming
Software Development
11 Years Ago
by k2k
…/private key authentication is a way to go when automating
scp
copy files to target machines. however, I just now just…'t been sucessfully yet. #!/bin/bash echo "password" |
scp
source user@destination:\folder hope anyone can shed some light…
Re: scp specifying password
Programming
Software Development
12 Years Ago
by k2k
actually, it does work.. it is just when putting in a for loop then it starts asking for password again. [code] pass=$1 for i in $(cat file) do echo "$pass" |
scp
--stdin source destination done [/code]
problem with expect and scp
Programming
Software Development
12 Years Ago
by Ismatus3
…to send i folder to a distant machine ising
scp
, without writing the password of the distant …CODE]#!/usr/bin/expect -f # effectue le transfert par
SCP
(sur SSH) set timeout 3600 set localfile [lindex $…[lindex $argv 2] set password [lindex $argv 3] spawn
scp
-r $localfile $servername:$distfile expect "password:" send …
Python , expect and scp
Programming
Software Development
12 Years Ago
by Ismatus3
…to send i folder to a distant machine ising
scp
, without writing the password of the distant …[CODE]#!/usr/bin/expect -f # effectue le transfert par
SCP
(sur SSH) set timeout 3600 set localfile [lindex $argv…[lindex $argv 2] set password [lindex $argv 3] spawn
scp
-r $localfile $servername:$distfile expect "password:" send …
Re: Python , expect and scp
Programming
Software Development
12 Years Ago
by Ismatus3
Hello , It's solved , the problem was : the script was created for sending a file , but in the case of a folder , with the options of
scp
: [CODE]-r -c blowfish[/CODE] , it stops evrytime it finds "100%" , in the line : [CODE]expect "100%"[/CODE] , and this don't let the other files to be sent .
How to pass password using scp in commandline
Programming
Software Development
11 Years Ago
by akileshb
How to pass password using
scp
in commandline
SCP
<filename> <user>@<Toserveraddress>:<path> Here i want to use password also , how can i use ????
Re: ssh-scp
Hardware and Software
Linux and Unix
11 Years Ago
by mike_2000_17
…;, you should be able to simply write: developer@garrett-laptop:~$
scp
fromlaptopsaveDeveloper.tar.gz garrett@192.168.1.5:/home/garrett… you should use the "developer" username in the
scp
command (or give write permissions to garrett over the developer…
Re: How to pass password using scp in commandline
Programming
Software Development
11 Years Ago
by Taywin
If you do some Google, you should see many links explain how to. For example, [this](http://www.thegeekstuff.com/2008/06/perform-ssh-and-
scp
-without-entering-password-on-openssh/) and [this](https://blogs.oracle.com/jkini/entry/how_to_scp_scp_and) may be something you can start with...
File transfer using scp
Programming
Software Development
12 Years Ago
by jinneebhat
I have a requirement to copy files from a temporary file directory to a unix file system using
scp
. Please provide me a sample code for this
ssh-scp
Hardware and Software
Linux and Unix
11 Years Ago
by lewashby
… desktop, here's what I'M getting. developer@garrett-laptop:~$
scp
developer@192.168.1.9:/home/develope/fromlaptopsaveDeveloper.tar.gz…
Re: Scp Script?
Programming
Software Development
11 Years Ago
by L7Sqr
You could start by issuing a directory listing of the files you'd like to copy `ssh user@server "ls -l"` Using that list you can evaluate how many files have been copied (by checking against your local listing) and only request the ones you do not have. N.B. This will not consider the case where files on the remote server change after…
Re: Scp Script?
Programming
Software Development
11 Years Ago
by L7Sqr
On second thought, why not just use [rsync](http://linux.die.net/man/1/rsync)
Re: SCP file copy failed in windows machine
Programming
Software Development
13 Years Ago
by jaango123
One of my friends told that I need to install winsshd in my machine and change some settings as I am not able to telnet from my local machine. $ telnet IP 22 Trying IP... telnet: Unable to connect to remote host: Connection refused However, not sure what to change in the winsshd though.
Re: scp specifying password
Programming
Software Development
12 Years Ago
by k2k
uh.. sorry for the confusion but i just figured that if the code is exectued outside the script it works fine. putting the same code in a script it will prompt for password. scratching my head now.
Re: scp specifying password
Programming
Software Development
12 Years Ago
by JeoSaurus
Hi k2k! Were you able to figure this out? Personally I've found that using keys for authentication is much more reliable (and possibly more secure?) than using passwords in scripting tasks like this. Is that an option in your case?
Re: scp specifying password
Programming
Software Development
12 Years Ago
by k2k
Gromit, Thanks for your reply but yea, you were absolutely right. I resolved it by using RSA. I actually had done it before, it is just I haven't used linux for a while and I had to kinda learn things again. = ) Thanks and I am all set.
Re: scp specifying password
Programming
Software Development
12 Years Ago
by maninaction
Thanks for the answer
Re: How to pass password using scp in commandline
Programming
Software Development
11 Years Ago
by Watael
hi, don't! `s` stands for 'secure'; using clear passwords in a script is not secure. use public key authentication.
Re: How to pass password using scp in commandline
Programming
Software Development
11 Years Ago
by akileshb
Thnaks its working
Re: How to pass password using scp in commandline
Programming
Software Development
11 Years Ago
by vbadisa
How to use, could you please provide an example
Re: File transfer using scp
Programming
Software Development
12 Years Ago
by ejosiah
And where does java come into ur requirement? are you copying from windows to unix or unix to unix; there are ways to do this without java but if you want to use java then look at this api [URL="http://www.jcraft.com/jsch/"]jSch[/URL]
Re: copy files to web server: winscp vs putty
Hardware and Software
Linux and Unix
11 Years Ago
by metalized
… ssh enabled server. If you are tring to copy with
SCP
from linux to windows, you will probably fail. if you… are tring to copy with
scp
from windows to linux you will surely fail, unless you… cygwin or something similar installed (Dunno if win include an
scp
utility in their latest versions). For you the best choice…
Rather strange problem copying, need assistance.
Programming
Software Development
17 Years Ago
by EnderX
…installed file called Expect.pm: [code] unless($
scp
->expect($timeout,-re=>'[Pp]assword.*?:|[Pp]assphrase….*?:')){ my $err=$
scp
->before() || $
scp
->match(); if($err){ if($handler){$…err) } croak("Problem performing
scp
: $err"); } croak("
scp
timed out while trying to connect to…
Re: WINAPI question : Running an exe
Programming
Software Development
14 Years Ago
by CodyOebel
…experience what I did was placed system("c:\ace.
scp
"); right under my WM_CREATE case, and it runs…at all. Is there a way to run the ace.
scp
, or any executable without using system("DPATH"); …NULL, "open", "c:/program files/AutoMacroRecorder/ace.
scp
", NULL, NULL, SW_HIDE); WOOT FOUND IT.. unless someone…
I want to copy a file from one host to another host
Programming
Web Development
15 Years Ago
by leki
…tomcat-5/webapps/maltixa"); String sscp = "
scp
/sx04a1/jakarta-tomcat-5/webapps/maltixa/index.jsp [email… InputStreamReader(p.getInputStream())); String s = reader.readLine(); out.println("
scp
said [ " + s + " ]");[/code] … ok I try too executing in a shell:
scp
/sx04a1/jakarta-tomcat-5/webapps/maltixa/index.jsp …
1
2
3
5
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC