11-04-2008
When you create ssh keys for ssh or scp connections with ssh-keygen, you will be asked to enter a passphrase. For batch jobs/scripts you will not enter anything there but just press enter so you will not be asked everytime doing ssh/scp for a passphrase to enter.
Usually you don't have to press enter, even when using scp in a script via cron. So I recommended trying out inserting -B or -o with an approriate ssh option. Did you try out -B for example?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I am using scp to get files from a Windows systemr to a Unix system. The ssh server is on Windows. The problem is that the file permissions for files that come from Windows are 700. Can any one help out with how I can set permissions to anything else? (6 Replies)
Discussion started by: blowtorch
6 Replies
2. UNIX for Advanced & Expert Users
Hi,
I have problem using scp in an AIX machine, where I need to use full path to scp from /dirA but i dont have to from /dirB of the same machine. Below are some details & scp -v output (truncated). I've checked the permission & settings of both dir/FS are the same. Please help.
scenario
scp... (2 Replies)
Discussion started by: juliehussin
2 Replies
3. UNIX for Dummies Questions & Answers
Hi,
I want to copy a file from one system to other i done a SCP but it showing error as below ..
Can we do it by SCP ? Is it possible ?.. What is the below mean ?.
sys1@sys2's password:
scp: .: not a regular file
Thanks,
Arun (4 Replies)
Discussion started by: arunkumar_mca
4 Replies
4. UNIX for Advanced & Expert Users
I have some problems using scp between a server Sun Solaris and a SecurePlatform Checkpoint.
If I try to copy a simple file txt from the server Sun Solaris to the SecurePlatform, I have problems!!!!!!...
server:/export/home/appmgt# scp 1.txt admin2@fwtest:~
lost connection
... if I try to... (5 Replies)
Discussion started by: Minguccio75
5 Replies
5. SCO
Our new server is a HCL INFINITY GLOBAL LINE 1700AH ,intel xeon S3000
chipset.It has no onboard parellel port.The vendor is suggesting printing solution through serial port ,but ours is mostly printing work.
I would like to know weather an addon parellel port can be added without conflict. OS is... (3 Replies)
Discussion started by: vikramviky
3 Replies
6. Shell Programming and Scripting
I have a script something like this:
#!/usr/bin/ksh
CLASSPATH=/apps/opt/db2udb/admin/db2bdt/sqllib/java/db2java.zip:/apps/opt/db2udb/admin/db2bdt/sqllib/java/db2jcc.jar:/apps/opt/db2udb/admin/db2bdt/sqllib/function:$CLASSPATH
export CLASSPATH
... (7 Replies)
Discussion started by: ss3944
7 Replies
7. UNIX for Advanced & Expert Users
Hi there,
I'm working with two linux servers and if I use ssh to connect from 1 to 2 everything works fine ( ..as usual:rolleyes:), while if I try to connect via ssh or to copy files through scp (as I usually do...) from 2 to 1, after the password I get this message:
Connection closed by... (6 Replies)
Discussion started by: Giordano Bruno
6 Replies
8. UNIX for Dummies Questions & Answers
hi,
I am successfully running following command from command prompt
$ scp oracle@172.16.0.11:/back/crmemo.csv /sales/
but when i am running the same command from a script it copying '?' in sales (destination) folder.
Following is the script
#!/bin/sh
scp... (14 Replies)
Discussion started by: RIAZ
14 Replies
9. Shell Programming and Scripting
Hi,
I have a main script which will login to different machines one by one and execute the another script as input which will execute some commands after login to the machine. i used while loop and it executes it like ssh to a machine and running the sub script, then moving to the second... (1 Reply)
Discussion started by: rbalaj16
1 Replies
10. Solaris
I have a problem with SCP, trying to use this solution in .bashrc:
scp printed an error message: "Write failed flushing stdout buffer. write stdout: Broken pipe." or "packet too long".
Your shell startup file (e.g., ~/.cshrc, ~/.bashrc), which is run when scp connects, might be writing a... (3 Replies)
Discussion started by: orange47
3 Replies
LEARN ABOUT DEBIAN
secpanel
SECPANEL(1) General Commands Manual SECPANEL(1)
NAME
secpanel - a Tcl/Tk front-end to ssh and scp
SYNOPSIS
secpanel
DESCRIPTION
SecPanel serves as a graphical user interface for managing and running SSH (Secure Shell) and SCP (Secure Copy) connections.
Note: SecPanel is not a new implementation of the SecureShell protocol or the ssh software-suite.
SecPanel sits on top of SSH software-suites and supports the SSH.com and the OpenSSH-version. You may get information about these programs
at http://www.ssh.com respectively at http://www.openssh.com.
SecPanel is written entirely in pure Tcl/Tk and does not need any extensions but it requires Version 8.x of Tcl and Tk.
SecPanel is free software and is released under the conditions of the GNU General Public License. See the file COPYING and notes in the
source code for details.
Features
Saves and manages profiles of different SecureShell connections. Gives an ftpclient-like graphical interface/file listing for launching
SCP-transfers. Editing of profiles mainly by mouse-clicking. Gives list of profiles to connect to. One list for default connections
using a default profile and another list for managing special connections e.g. port-forwarding setups for reading mail. Management of the
ssh-agent. Support for generating and distributing keys for public key authentication.
Planned Features
Support for the SSH2 protocol related options, configurations and special features of SSH.com's and OpenSSH's suites.
AUTHOR
Steffen Leich <secpanel@pingx.net>
SEE ALSO
ssh(1), scp(1), ssh-askpass(1), ssh-agent(1)
Debian Project 2002-06-30 SECPANEL(1)