07-16-2008
sftp login
hi zaxxon
i have 4 servers in cluster environment 2 are backend and 2 are frontend.
For backend servers i am bale to login using sftp protocol without password but for frontend servers only the server is asking for the password.
This is the complete information can u please explain the problem
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
hi,
I need to sftp a file from one unix system to another unix system.
eg: filename is test.txt
servername : abc@xyz
please give me the sftp command for that.
thanks in advance..
mohan.p (2 Replies)
Discussion started by: mohanpadamata
2 Replies
2. HP-UX
Hi,
We are facing issue with files transfered using SFTP in Hp-UX.
The transfered files are in Unix Format. That is, file format as UNIX (LF) instead of a PC format (CR & LF).
How can we achieve file transfers as PC format using SFTP?
Your help and input will be highly appreciated.
... (2 Replies)
Discussion started by: brap45
2 Replies
3. Shell Programming and Scripting
I am having trouble viewing a file in ASCII after doing a 'get' using SFTP. It appears to have come across as machine language. Does the file have to be in ASCII format prior to the 'get' or is there a way to convert it to ascii after I get it onto my server? I have read where the secure file... (0 Replies)
Discussion started by: wsiefkas
0 Replies
4. Shell Programming and Scripting
Hello -
I have text file and need to load the data in Oracle through sqlloader.
I need to move this file to unix server and load into oracle. When i SFTP(unfortunately i do not have FTP)
to unix box, each line is appended with ControlM character...
since it is transferring in BINARY... (4 Replies)
Discussion started by: govindts
4 Replies
5. Shell Programming and Scripting
Hi all,
I'm trying to do a script to transfer file between my server and an external server via SFTP protocol. It doesn't use rsa key, but password.
When I run the script, it throw back a prompt that request me to put the password. How should I do for automatic login? Pleaes help :(
... (2 Replies)
Discussion started by: Kapom
2 Replies
6. Shell Programming and Scripting
Hello all,
I have a requirement, in which we need to stage a package to Unix remote server in an automation (we cant use ssh key generation) , do u have any idea how we can transfer the package to remote server using sftp .if you have any script plz share it to me (4 Replies)
Discussion started by: Ramji Sundaram
4 Replies
7. Shell Programming and Scripting
Hi,
I want to a transfer file from remote machine to a local machine using SFTP where both my local and remote machines are Ubuntu machines.So i wanted to write a unix bash script which uses SFTP command to transfer the file from remote to local machine.
My remote server is 178.28.30.106. ... (14 Replies)
Discussion started by: shree11
14 Replies
8. UNIX for Dummies Questions & Answers
Hi guys,
Need a quick and urgent help on below issue.
One of our application is try to transfer the file to another host thru sftp process
My file is about 1 GB.
Job is getting hung while transferring the file. So when I login as sftp and check the file system space is only in MB... (2 Replies)
Discussion started by: Vinoth Kumar G
2 Replies
9. UNIX for Dummies Questions & Answers
Hi.
I have managed to transfer a file from remote to my raspberry pi, but I have the camera mounted on the Raspbien so I would like to transfer the image the other way.
I use this line:
sshpass -p 'PASSWORD' scp -- USER@ssh.servername.com:/www/cam/image.jpg /home/pi/shared/web/image.jpg (4 Replies)
Discussion started by: brickglow
4 Replies
10. UNIX for Beginners Questions & Answers
Hi All,
Need some help regarding file transfer between server.
Suppose we have system-A and system-B. To transfer file from system-A to system-B we usually share the
public keys of system-A to system-B and do scp/sftp to transfer a file.
Is it possible that public key of system-B can be... (3 Replies)
Discussion started by: abhi_123
3 Replies
LEARN ABOUT DEBIAN
zmq_device
ZMQ_DEVICE(3) 0MQ Manual ZMQ_DEVICE(3)
NAME
zmq_device - start built-in 0MQ device
SYNOPSIS
int zmq_device (int device, const void *frontend, const void *backend);
DESCRIPTION
The zmq_device() function starts a built-in 0MQ device. The device argument is one of:
ZMQ_QUEUE
starts a queue device
ZMQ_FORWARDER
starts a forwarder device
ZMQ_STREAMER
starts a streamer device
The device connects a frontend socket to a backend socket. Conceptually, data flows from frontend to backend. Depending on the socket
types, replies may flow in the opposite direction.
Before calling zmq_device() you must set any socket options, and connect or bind both frontend and backend sockets. The two conventional
device models are:
proxy
bind frontend socket to an endpoint, and connect backend socket to downstream components. A proxy device model does not require changes
to the downstream topology but that topology is static (any changes require reconfiguring the device).
broker
bind frontend socket to one endpoint and bind backend socket to a second endpoint. Downstream components must now connect into the
device. A broker device model allows a dynamic downstream topology (components can come and go at any time).
zmq_device() runs in the current thread and returns only if/when the current context is closed.
QUEUE DEVICE
ZMQ_QUEUE creates a shared queue that collects requests from a set of clients, and distributes these fairly among a set of services.
Requests are fair-queued from frontend connections and load-balanced between backend connections. Replies automatically return to the
client that made the original request.
This device is part of the request-reply pattern. The frontend speaks to clients and the backend speaks to services. You should use
ZMQ_QUEUE with a ZMQ_XREP socket for the frontend and a ZMQ_XREQ socket for the backend. Other combinations are not documented.
Refer to zmq_socket(3) for a description of these socket types.
FORWARDER DEVICE
ZMQ_FORWARDER collects messages from a set of publishers and forwards these to a set of subscribers. You will generally use this to bridge
networks, e.g. read on TCP unicast and forward on multicast.
This device is part of the publish-subscribe pattern. The frontend speaks to publishers and the backend speaks to subscribers. You should
use ZMQ_FORWARDER with a ZMQ_SUB socket for the frontend and a ZMQ_PUB socket for the backend. Other combinations are not documented.
Refer to zmq_socket(3) for a description of these socket types.
STREAMER DEVICE
ZMQ_STREAMER collects tasks from a set of pushers and forwards these to a set of pullers. You will generally use this to bridge networks.
Messages are fair-queued from pushers and load-balanced to pullers.
This device is part of the pipeline pattern. The frontend speaks to pushers and the backend speaks to pullers. You should use ZMQ_STREAMER
with a ZMQ_PULL socket for the frontend and a ZMQ_PUSH socket for the backend. Other combinations are not documented.
Refer to zmq_socket(3) for a description of these socket types.
RETURN VALUE
The zmq_device() function always returns -1 and errno set to ETERM (the 0MQ context associated with either of the specified sockets was
terminated).
EXAMPLE
Creating a queue broker.
// Create frontend and backend sockets
void *frontend = zmq_socket (context, ZMQ_XREP);
assert (backend);
void *backend = zmq_socket (context, ZMQ_XREQ);
assert (frontend);
// Bind both sockets to TCP ports
assert (zmq_bind (frontend, "tcp://*:5555") == 0);
assert (zmq_bind (backend, "tcp://*:5556") == 0);
// Start a queue device
zmq_device (ZMQ_QUEUE, frontend, backend);
SEE ALSO
zmq_bind(3) zmq_connect(3) zmq_socket(3) zmq(7)
AUTHORS
This manual page was written by the 0MQ community.
0MQ 2.2.0 04/04/2012 ZMQ_DEVICE(3)