Sponsored Content
Top Forums Web Development Ssh authentication from .NET webpage to UNIX is not working Post 302733491 by DGPickett on Tuesday 20th of November 2012 02:49:20 PM
Old 11-20-2012
Yes, verbose is great for debugging problems in ssh.
This User Gave Thanks to DGPickett For This Post:
 

9 More Discussions You Might Find Interesting

1. AIX

Passwordless authentication via SSH

I am trying to implement passwordless authentication via ssh2. I have used the well documented technique of generating a key pair with a blank passphrase on my client machine, and installing the public key on the destination server (AIX 5.3) in the user's .ssh2 directory. I have used this technique... (1 Reply)
Discussion started by: RegX
1 Replies

2. Shell Programming and Scripting

Net::SSH::Perl->Execute any unix command & display the output in a proper form

Net::SSH::Perl ...... how to print the output in a proper format my $cmd = "ls -l"; my $ssh = Net::SSH::Perl->new($host); $ssh->login($user, $pass); my($stdout, $stderr, $exit) = $ssh->cmd("$cmd"); print $stdout; the script works fine, but i am unable to see the output... (2 Replies)
Discussion started by: gsprasanna
2 Replies

3. Shell Programming and Scripting

could not send commands SSH session with Net::SSH::Expect

I am using Net::SSH::Expect to connect to the device(iLO) with SSH. After the $ssh->login() I'm able to view the prompt, but not able to send any coommands. With the putty I can connect to the device and execute the commands without any issues. Here is the sample script my $ssh =... (0 Replies)
Discussion started by: hansini
0 Replies

4. UNIX for Dummies Questions & Answers

Access Webpage in UNIX

Dear All, I do not know anything from UNIX and its systems. I have a course on bioinformatics and they taught us a little about the UNIX. They also provided a userID and password for the web server which I can access using SSH. now, with A LOT OF EFFORT, I wrote a small index.html file, saved it... (1 Reply)
Discussion started by: dreamer0085
1 Replies

5. Shell Programming and Scripting

Net::OpenSSH not working on Unix machine.

So, I installed the Net::OpenSSH module and I am having trouble getting it to work. It appears to be failing on this code: my $ssh = Net::OpenSSH->new('user:passwd@host.com'); $ssh->error and die "Couldn't establish SSH connection: ". $ssh->error; It's pretty simple code. I keep... (0 Replies)
Discussion started by: mrwatkin
0 Replies

6. UNIX for Dummies Questions & Answers

Pearl script Net::SFTP authentication error

#!/usr/local/bin/perl -w use Net::SFTP; use File::Copy; my $user=(getpwuid($<)); my $server = "servername"; print "user - $user server - $server \n"; my %args = ( user => "$user", ssh_args => {port=> 'portnum'} ); $args{debug} = 1; $args{user} = "user"; my $sftp=Net::SFTP->new($server,... (1 Reply)
Discussion started by: Yashaswini H L
1 Replies

7. Shell Programming and Scripting

Ssh passwordless authentication

Hey team I have to enable password less authentication betweeen A to B server and A to C server and A to D server. For this I generated a ssh key on server A using ssh-keygen command and copied the key using ssh-copy-id command to B, C and D server. Everything is working fine as of now but... (5 Replies)
Discussion started by: Sandeep_sandy
5 Replies

8. Shell Programming and Scripting

How to open webpage through UNIX?

Hi friends, I have UNIX (HP-UX) server. I want to open a webpage (lets say www.unixhelp.com) on this webpage there is one checkbox. I just need to check it. and click on save. Its just take a half a minute to do so in windows system. But I am wondering if this is possible though UNIX server.... (3 Replies)
Discussion started by: Nakul_sh
3 Replies

9. Shell Programming and Scripting

Perl Net::IP not working

Experts - I have a snippet of code I can't figure out. I was hoping someone could help me here. I have a file of IPv6 address that I need to format correct. Example in: 2620:0:2d0:200::7 2620:0:2d0:200:a0:c 2620:0a:3f0:200:a0:c I need to convert them to:... (3 Replies)
Discussion started by: timj123
3 Replies
GIT-REVIEW(1)						    BSD General Commands Manual 					     GIT-REVIEW(1)

NAME
git-review -- Submit changes to Gerrit for review SYNOPSIS
git-review [-r remote] [-uv] -d change [branch] git-review [-r remote] [-fnuv] -s [branch] git-review [-fnuvDR] [-r remote] [-t topic] [branch] git-review --version DESCRIPTION
git-review automates and streamlines some of the tasks involved with submitting local changes to a Gerrit server for review. It is designed to make it easier to apprehend Gerrit, especially for users that have recently switched to Git from another version control system. The following options are available: -d change, --download=change Download change from Gerrit into a local branch. The branch will be named after the patch author and the name of a topic. If the local branch already exists, it will attempt to update with the latest patchset for this change. -f, --finish Close down the local branch and switch back to the target branch on successful submission. -n, --dry-run Don't actually perform any commands that have direct effects. Print them instead. -r remote, --remote=remote Git remote to use for Gerrit. -s, --setup Just run the repo setup commands but don't submit anything. -t topic, --topic=topic Sets the target topic for this change on the gerrit server. If not specified, a bug number from the commit summary will be used. Alternatively, the local branch name will be used if different from remote branch. -u, --update Skip cached local copies and force updates from network resources. -l, --list List the available reviews on the gerrit server for this project. -y, --yes Indicate that you do, in fact, understand if you are submitting more than one patch. -v --verbose Turns on more verbose output. -D, --draft Submit review as a draft. Requires Gerrit 2.3 or newer. -R, --no-rebase Do not automatically perform a rebase before submitting the change to Gerrit. When submitting a change for review, you will usually want it to be based on the tip of upstream branch in order to avoid possible conflicts. When amending a change and rebasing the new patchset, the Gerrit web interface will show a difference between the two patchsets which contains all commits in between. This may confuse many reviewers that would expect to see a much simpler difference. --version Print the version number and exit. FILES
To use git-review with your project, it is recommended that you create a file at the root of the repository named .gitreview and place infor- mation about your gerrit installation in it. The format is similar to the Windows .ini file format: [gerrit] host=hostname port=TCP port number of gerrit project=project name defaultbranch=branch to work on It is also possible to specify optional default name for the Git remote using the defaultremote configuration parameter. Setting defaultrebase to zero will make git-review not to rebase changes by default (same as the -R command line option) [gerrit] host=review.example.com port=29418 project=department/project.git defaultbranch=master defaultremote=review defaultrebase=0 EXAMPLES
To fetch a remote change number 3004: $ git-review -d 3004 Downloading refs/changes/04/3004/1 from gerrit into review/someone/topic_name Switched to branch 'review/someone/topic_name $ git branch master * review/author/topic_name Gerrit looks up both name of the author and the topic name from Gerrit to name a local branch. This facilitates easier identification of changes. To send a change for review and delete local branch afterwards: $ git-review -f remote: Resolving deltas: 0% (0/8) To ssh://username@review.example.com/departement/project.git * [new branch] HEAD -> refs/for/master/topic_name Switched to branch 'master' Deleted branch 'review/someone/topic_name' $ git branch * master An example .gitreview configuration file for a project department/project hosted on review.example.com port 29418 in the branch master : [gerrit] host=review.example.com port=29418 project=department/project.git defaultbranch=master BUGS
Bug reports can be submitted to https://launchpad.net/git-review AUTHORS
git-review is maintained by OpenStack, LLC This manpage has been enhanced by: Antoine Musso <hashar@free.fr> Marcin Cieslak <saper@saper.info> April 4th, 2012
All times are GMT -4. The time now is 11:17 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy