8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi guys,
So i am in server1 and i have to login to server 2, 3,4 and run some script there(logging script) and output its result. What i am doing is running the script in server2 and outputting it to a file in server 2 and then Scp'ing the file to server1. Similarly i am doing this for other... (5 Replies)
Discussion started by: srkmish
5 Replies
2. Solaris
Hi,
I am trying to automate the process of fetching files from remote server to local server through sftp. I have the username and password for the remote solaris server. But I need to give password manually everytime i run the script.
Can anyone help me in automating the script such that it... (3 Replies)
Discussion started by: ssk250
3 Replies
3. UNIX for Dummies Questions & Answers
I have 3 servers A, B, C and server B is having some files in /u01/soa/ directory, these files i want to copy to server C, and i want to run the script from server A.
Script(Server A) --> Files at Server B (Source server) --> Copy the files to Server C(Target Server).
We dont have RSA key... (4 Replies)
Discussion started by: kiran_j
4 Replies
4. Shell Programming and Scripting
I need to connect to a ftp server-1 from linux server-2 and copy/get a file from server-1 which follows a name pattern of FILENAME* (located on the root directory) and copy on a directory on server-2. Later, I have to use this file for ETL loading... For this I tried using as below
/usr/bin/ftp... (8 Replies)
Discussion started by: dhruuv369
8 Replies
5. Shell Programming and Scripting
Dear Friends,
Sorry for this basic request. But I just started learning Ksh recently and still I am a newbie in this field.
Q: I have files on one server and the date format is 20121001000009_224625.in which has year (yyyy) month (mm) and date (dd). I have these files on server A. The task... (8 Replies)
Discussion started by: BrownBob
8 Replies
6. Red Hat
Guys,
Need your help coz my server runs in local time GMT +8, but when client use ftp and login, the resulting timestamp seen in each file is in UTC format. We need to set that the time should be the same as GMT +8 when in ftp session.
I am using RHEL 5.3.
root@]# ll
total 1740... (2 Replies)
Discussion started by: shtobias
2 Replies
7. UNIX for Dummies Questions & Answers
yo! i've decided to run a jabber server and i'm having some install errors. Actually one major error that is pushing me closer and closer to taking a hammer to my machine.
Here is some info:
=====================================================
OS: FreeBSD 5.2.1-Stable
Source: Jabber-2.0s6... (2 Replies)
Discussion started by: edua
2 Replies
8. UNIX for Dummies Questions & Answers
Fedora Core2
Jabberd 1.4.2 quickstart
Anyone using a jabber server?
Do you know how to have it startup when booting? I can't seem to figure that part out.
Jeff (1 Reply)
Discussion started by: lawadm1
1 Replies
LEARN ABOUT DEBIAN
sendxmpp
SENDXMPP(1) User Contributed Perl Documentation SENDXMPP(1)
NAME
sendxmpp - send xmpp messages from the commandline.
SYNOPSIS
sendxmpp [options] <recipient1> [<recipient2> ...]
sendxmpp --raw [options]
DESCRIPTION
sendxmpp is a program to send XMPP (Jabber) messages from the commandline, not unlike mail(1). Messages can be sent both to individual
recipients and chatrooms.
OPTIONS
-f,--file file
Use file configuration file instead of ~/.sendxmpprc
-u,--username user
Use user instead of the one in the configuration file
-p,--password password
Use password instead of the one in the configuration file
-j,--jserver server
Use jabber server instead of the one in the configuration file.
-o,--component componentname
Use componentname in connect call. Seems needed for Google talk.
-r,--resource res
Use resource res for the sender [default: 'sendxmpp']; when sending to a chatroom, this determines the 'alias'
-t,--tls
Connect securely, using TLS
-e,--ssl
Connect securely, using SSL
-l,--headline
Backward compatibility option. You should use --message-type=headline instead. Send a headline type message (not stored in offline
messages)
--messages-type
Set type of message. Supported types are: message chat headline. Default message type is message. Headline type message can be set also
with --headline option, see --headline
-c,--chatroom
Send the message to a chatroom
-s,--subject subject
Set the subject for the message to subject [default: '']; when sending to a chatroom, this will set the subject for the chatroom
-m,--message message
Read the message from message (a file) instead of stdin
-i,--interactive
Work in interactive mode, reading lines from stdin and sending the one-at-time
-w,--raw
Send raw XML message to jabber server
-v,--verbose
Give verbose output about what is happening
-h,--help,--usage
Show a 'Usage' message
-d,--debug
Show debugging info while running. WARNING: This will include passwords etc. so be careful with the output!
CONFIGURATION FILE
You may define a '~/.sendxmpprc' file with the necessary data for your xmpp-account, with a line of the format:
user@server password componentname
e.g.:
# my account
alice@jabber.org secret
('#' and newlines are allowed like in shellscripts). You can add a host (or IP address) if it is different from the server part of your
JID:
# account with specific connection host
alice@myjabberserver.com;foo.com secret
You can also add a port if it is not the standard XMPP port:
# account with weird port number
alice@myjabberserver.com:1234 secret
Of course, you may also mix the two:
# account with a specific host and port
alice@myjabberserver.com;foo.com:1234 secret
NOTE: for your security, sendxmpp demands that the configuration file is owned by you and readable only to you (permissions 600).
EXAMPLE
$ echo "hello bob!" | sendxmpp -s hello someone@jabber.org
or to send to a chatroom:
$ echo "Dinner Time" | sendxmpp -r TheCook --chatroom test2@conference.jabber.org
or to send your system logs somewhere, as new lines appear:
$ tail -f /var/log/syslog | sendxmpp -i sysadmin@myjabberserver.com
NOTE: be careful not the overload public jabber services
SEE ALSO
Documentation for the Net::XMPP module
The jabber homepage: <http://www.jabber.org/>
The sendxmpp homepage: <http://sendxmpp.platon.sk>
AUTHOR
sendxmpp has been written by Dirk-Jan C. Binnema <djcb@djcbsoftware.nl>, and uses the Net::XMPP modules written by Ryan Eatmon. Current
maintainer is Lubomir Host 'rajo' <rajo AT platon.sk>, <http://rajo.platon.sk>
perl v5.12.4 2010-12-31 SENDXMPP(1)