Hi ,
I am doing SCP for copying log files from different server(around 24 server)
I need to copy these bulk logfiles every 15 min.
How can i do multiple SCP at the same time?
My current code is like this
scp $CUSTCARE_USER@$CUSTCARE_SERVER:$CUSTCARE_HOME/$CUSTCARE_LOG.*... (2 Replies)
Hi All,
I am a total noob to the Unix world, and i hope to learn a lot from this wonderful community. Here's my first post and question , i am trying to SCP a file to multiple servers (multiple destinations) through this little script :
#!/bin/ksh
# copy files
# File to be copied... (7 Replies)
Hi,
I have got a shell script, which fails to run properly..
I am getting the following error:
"Pseudo-terminal will not be allocated because stdin is not a terminal.
Permission denied (gssapi-keyex,gssapi-with-mic,publickey,keyboard-interactive)."
I SSH to the machine and then run the... (1 Reply)
Dear Experts,
how to run multiple scp commands from single scripts.
In a directory oracle redo files accumulate. i would like to copy those redo logs to my standby server. For same i am using scp to copy the files. where i am monitoring that as it is sending the files sequentially most of... (1 Reply)
FILE_LIST="{a.txt,b.txt,cal*}"
scp -r $..$REMOTE_PATH$FILE_LIST $LOCAL_PATH
This script passes only when all the three files are transfere, wat if only two file are transfered, but still I was to make the return code as pass.
is it possible. (2 Replies)
Hi SSHers,
I have embedded this below code in my shell script..
/usr/bin/ssh -t $USER@$SERVER1 /usr/bin/ssh $USER2@S$SERVER2 echo uptime:`/opt/OV/bin/snmpget -r 0 -t 60 $nodeName system.3.0 | cut -d: -f3-5`
SSH to both these servers are public-key authenticated, so things run... (13 Replies)
Hi,
I'm new to Linux. I would like to know how to scp a group of files. I have the below command, but it asks for remote password while sending each file. Is there a way to send all files (identified by - $ ls | grep '.*hrs0314a.*' | xargs -I {} grep -l '.*35663.*' {}) in one go?
$ ls |... (6 Replies)
Hello,
I got an application on a linux server that I would like to access using https and a URL. I would like to create a ssh tunnel. But, let's say the app is on box C, but box C can only be accessed through box B, that can be accessed only through box A. I would like to create the ssh tunnel... (0 Replies)
Hi
I need to write a script to ssh through several hops (e.g. HostA-HostB-HostC-HostD), where Host A does not have direct assess to HostC ; HostB cannot access HostD directly.
when I ssh 3 hops and run command with arg1, arg2 and redirect the output to a file, e.g.
HostA> ssh -t HostB ssh -t... (3 Replies)
I need to transfer multiple files using scp between two solaris machines. I could not use pattern since they match with other files in the same directory.
I tried the below command, it does not copy any files.
$ scp -p user@machine1:/home/fid1/staging/\{a.ksh,b.ksh,c.ksh,d.ksh\} .
But... (7 Replies)
Discussion started by: marecar
7 Replies
LEARN ABOUT DEBIAN
mojo::server::morbo
Mojo::Server::Morbo(3pm) User Contributed Perl Documentation Mojo::Server::Morbo(3pm)NAME
Mojo::Server::Morbo - DOOOOOOOOOOOOOOOOOOM!
SYNOPSIS
use Mojo::Server::Morbo;
my $morbo = Mojo::Server::Morbo->new;
$morbo->run('./myapp.pl');
DESCRIPTION
Mojo::Server::Morbo is a full featured self-restart capable non-blocking I/O HTTP 1.1 and WebSocket server built around the very well
tested and reliable Mojo::Server::Daemon with "IPv6", "TLS" and "libev" support.
To start applications with it you can use the morbo script.
$ morbo myapp.pl
Server available at http://127.0.0.1:3000.
Optional modules EV, IO::Socket::INET6 and IO::Socket::SSL are supported transparently and used if installed. Individual features can also
be disabled with the "MOJO_NO_IPV6" and "MOJO_NO_TLS" environment variables.
See Mojolicious::Guides::Cookbook for more.
ATTRIBUTES
Mojo::Server::Morbo implements the following attributes.
"watch"
my $watch = $morbo->watch;
$morbo = $morbo->watch(['/home/sri/myapp']);
Files and directories to watch for changes, defaults to the application script as well as the "lib" and "templates" directories in the
current working directory.
METHODS
Mojo::Server::Morbo inherits all methods from Mojo::Base and implements the following new ones.
"check_file"
my $success = $morbo->check_file('/home/sri/lib/MyApp.pm');
Check if file has been modified since last check.
"run"
$morbo->run('script/myapp');
Run server for application.
SEE ALSO
Mojolicious, Mojolicious::Guides, <http://mojolicio.us>.
perl v5.14.2 2012-09-05 Mojo::Server::Morbo(3pm)