10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
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. 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
3. Shell Programming and Scripting
I have two linux server accounts server1 and server2
From the terminal if I say this command,
scp /source/folder/from/server1/unix.txt firstname.lastname@example.org:/destination/folder/
Then it prompts for the password
I enter my password and then it... (1 Reply)
Discussion started by: jacobs.smith
4. Shell Programming and Scripting
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
and after clicking enter, i was asked for a password and entering... (4 Replies)
Discussion started by: forums123456
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
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
7. Shell Programming and Scripting
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
8. Red Hat
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
9. UNIX for Advanced & Expert Users
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
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
NOTMUCH-SEARCH(1) General Commands Manual NOTMUCH-SEARCH(1)
notmuch-search - Search for messages matching the given search terms.
notmuch search [options...] <search-term>...
Search for messages matching the given search terms, and display as results the threads containing the matched messages.
The output consists of one line per thread, giving a thread ID, the date of the newest (or oldest, depending on the sort option) matched
message in the thread, the number of matched messages and total messages in the thread, the names of all participants in the thread, and
the subject of the newest (or oldest) message.
See notmuch-search-terms(7) for details of the supported syntax for <search-terms>.
Supported options for search include
Presents the results in either JSON or plain-text (default).
Output a summary of each thread with any message matching the search terms. The summary includes the thread ID, date, the num-
ber of messages in the thread (both the number matched and the total number), the authors of the thread and the subject.
Output the thread IDs of all threads with any message matching the search terms, either one per line (--format=text) or as a
JSON array (--format=json).
Output the message IDs of all messages matching the search terms, either one per line (--format=text) or as a JSON array
Output the filenames of all messages matching the search terms, either one per line (--format=text) or as a JSON array (--for-
Output all tags that appear on any message matching the search terms, either one per line (--format=text) or as a JSON array
This option can be used to present results in either chronological order (oldest-first) or reverse chronological order (new-
Note: The thread order will be distinct between these two options (beyond being simply reversed). When sorting by oldest-first the
threads will be sorted by the oldest message in each thread, but when sorting by newest-first the threads will be sorted by the
newest message in each thread.
By default, results will be displayed in reverse chronological order, (that is, the newest results will be displayed first).
Skip displaying the first N results. With the leading '-', start at the Nth result from the end.
Limit the number of displayed results to N.
Specify whether to omit messages matching search.tag_exclude from the search results (the default) or not. The extra option flag
only has an effect when --output=summary In this case all matching threads are returned but the "match count" is the number of
matching non-excluded messages in the thread.
notmuch(1), notmuch-config(1), notmuch-count(1), notmuch-dump(1), notmuch-hooks(5), notmuch-new(1), notmuch-reply(1), notmuch-restore(1),
notmuch-search-terms(7), notmuch-show(1), notmuch-tag(1)
Notmuch 0.13.2 2012-06-01 NOTMUCH-SEARCH(1)