10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hello experts,
OS : CentOS
Could you please help me with the following scenario :
I wish to use scp command in order to copy a file (say : f1.txt) from server 2 to server 1.
Both servers have a common user (say : user1) configured. Also, the file is owned by the same user on both... (2 Replies)
Discussion started by: H squared
2 Replies
2. Shell Programming and Scripting
I am using the below command to scp the file to destination server ($server).
The ssh keys have been created between the source and destination servers. Still I am getting password authentication after executing the below scp command:
scp $Local_dir/$file_pattern* $username@$server:/$ftp_dir/... (1 Reply)
Discussion started by: Ganesh L
1 Replies
3. Shell Programming and Scripting
Hello Folks,
I have two linux server accounts server1 and server2
From the terminal if I say this command,
scp /source/folder/from/server1/unix.txt user@server2.com:/destination/folder/
Then it prompts for the password
user@server2.com's password:
I enter my password and then it... (1 Reply)
Discussion started by: jacobs.smith
1 Replies
4. Shell Programming and Scripting
Hi,
I was provided with sftp servername, user and password and the requirement is to connect to sftp server using credentials provided and drop the file.
Manually i am able to connect with commands like
sftp user@servername
and after clicking enter, i was asked for a password and entering... (4 Replies)
Discussion started by: forums123456
4 Replies
5. Linux
Dear all,
I have two servers A and B. I want to do scp with out password between these two servers.
I created ssh-keygen and copied the id-rsa.pub file to each of them in authorized_keys.
But I could login only from B to A with out password. From A to B it is asking for a password.
... (5 Replies)
Discussion started by: jegaraman
5 Replies
6. UNIX for Advanced & Expert Users
I am trying to copy a file from remote machine using scp. I followed the steps to configure public/private key usage. But still prompting for password when I do ssh.
I did the following steps to configure scp without asking password
Step 1 : local host > ssh-keygen -t rsa and when prompted... (9 Replies)
Discussion started by: satish@123
9 Replies
7. Shell Programming and Scripting
Hi Everyone,
I'm trying to run scp as a one-line command, as of right now, it prompts me for the user's password to the remote machine. Does anyone know if there is an option to pass the password parameter into the scp command on the same line so it doesn't prompt me? Thanks! (1 Reply)
Discussion started by: twhitmarsh
1 Replies
8. Red Hat
Hi,
I want to use sftp/scp without password.How can I do that ??
I plan to use script with scp/sftp and execute by cronjob ,any sample or example?? How can I test the scp/sftp working or not in the same user account , in the same red linux server?? any suggestion ??? (5 Replies)
Discussion started by: chuikingman
5 Replies
9. UNIX for Advanced & Expert Users
Hi,
when I use scp test.jsp user@remote:/tmp/
I'm prompted user@remote's password:
How can I avoid it ?
Thank you. (8 Replies)
Discussion started by: big123456
8 Replies
10. Shell Programming and Scripting
I like to copy a file from one server server1 from path path1 to another server server2 to path path2.
User logging in both the servers are same say user1
I tried to use ssh to generate public/private key pairs and then copy without prompting for password.
These are the steps i followed
... (5 Replies)
Discussion started by: jwala
5 Replies
VDE_CRYPTCAB(1) General Commands Manual VDE_CRYPTCAB(1)
NAME
vde_cryptcab - Virtual Distributed Ethernet encrypted cable manager
SYNOPSIS
vde_cryptcab [ -p portnum ] [ -s socketpath ] [ -c [remote_user@]host[:remote_portnum] ] [ -P pre_shared.key ]| [ -x ] [ -v [v][v][v] ] [
-k ] [ -d ]
DESCRIPTION
A vde_cryptcab is a distributed cable manager for VDE switches. It allows two VDE switches on two machines to communicate using a blowfish
encrypted channel.
When used in client mode (i.e., with -c option), it generates a random blowfish key, and uses scp (1) to transfer the key to the remote
server.
On the client side, the environment variable SCP_EXTRA_OPTIONS may be set in order to append options to the scp command line (this is use-
ful for example when dropbear or another non-standard ssh client is used to transfer the blowfish key).
After a 4-way handshake phase to verify client credentials, server and client will exchange VDE datagrams encapsulating them into crypto-
grams that are sent via udp to each remote host.
On server side, one could run:
vde_cryptcab -s /tmp/vde2.ctl -p 2100
To start a multi-peer cryptcab server, accepting udp datagrams on port 2100, that connects each authenticated remote client to a different
port of the switch. In fact, a new instance of vde_plug (1) is started and connected to the switch through local unix socket.
The command
vde_cryptcab -s /tmp/vde2.ctl -c foo@remote.machine.org:2100
will connect a client to the remote server, running on udp port 2100. At this point, on server side a verify for user "foo" credentials is
required, typically it could be: host-based authentication, password challenge or public key authentication. See ssh (1) for more details
about it.
If the two vde_switches run as daemon and they are connected to tap interfaces a level 2 encrypted tunnel is established.
OPTIONS
-p portnum
It is possible to decide which local udp port to use. When this option is not specified, cryptcab will use default udp port number,
7667.
-c [remote_user@]host[:remote_portnum]
run vde_cryptcab in client mode, trying to connect to host . Both remote_user and remote_portnum parameters are not required. If
not specified, the same user running vde_cryptcab is used for authentication on server, and default udp port 7667 is used.
-s socketpath
specify the UNIX socket to be used by local programs for joining the VDE. The default value is "/tmp/vde.ctl".
-P pre_shared.keypath
if specified, vde_cryptcab will run in pre-shared key mode, instead of generating a random key to transmit with ssh. Given option
is the path to the pre-shared symmetric key file to use for data encryption. The same key has to be used on both client and server.
-x Disable symmetric key encryption.
-k Send periodic "keepalive" packets to avoid server timeouts. Useful when you want to keep a low-traffic link available.
-d Run as daemon.
-v Verbose. (Use -vv -vvv or -vvvv for more verbosity)
KNOWN ISSUES
Encapsulating IP packets into session+udp layer results in real datagrams larger than tap device mtu. Since vde_cryptcab gets confused by
packet fragmentation, the tap device mtu must be set to a smaller value than real interface mtu. Use ip(8) or ifconfig(8) to set up your
tap device mtu.
Explicitly disabling encryption leads to obvious security problems. It is advised to avoid unencrypted mode (-x) in non-controlled net-
works.
NOTICE
Virtual Distributed Ethernet is not related in any way with www.vde.com ("Verband der Elektrotechnik, Elektronik und Informationstechnik"
i.e. the German "Association for Electrical, Electronic & Information Technologies").
SEE ALSO
vde_switch(1), vdeq(1), vde_plug(1), vde_plug2tap(1), scp(1), ssh(1).
AUTHORS
VDE is a project by Renzo Davoli <renzo@cs.unibo.it>.
vde_cryptcab is a VDE component by Daniele Lacamera <root@danielinux.net>
Virtual Distributed Ethernet December 6, 2006 VDE_CRYPTCAB(1)