× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Finally gor it.

Syntax was bugging me. This works:

sftp -o User=000000000000@ssh ftp.xxxxx.com

Apparently, space is required between user name and domain. I think I
was stuck trying to use an at-sign.

Thanks for the help.

John McKee

On Wed, Jan 18, 2012 at 1:54 PM, Porterfield, Sean
<SPorterfield@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
So you are using PuTTY to ssh to your IBM i to get a shell from which you can use sftp?  I can understand that, though I've tested mine from qp2term just to get it working rather than starting the ssh server on my IBM i.

You need the -oUser=xxxxx before the hostname.  The hostname is the last parameter passed to sftp.

I just tested mine here, and it worked.  I don't have an @ in my username, but I do know the -oUser=xxx part is working for me.
--
Sean Porterfield



-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of jmmckee flinthills.com
Sent: Wednesday, January 18, 2012 10:40 AM
To: Midrange Systems Technical Discussion
Subject: Re: Odd sftp user name

Issue is to debug sftp.  I am using PuTTY to connect to my i user profile, to have a functioning terminal.  I log into my user profile just fine.  But, issue is connecting to remote site using sftp and the user name provided.

Never occurred to be to try the option you suggest.  My concern was whether a QSH script would have the same issue, thus the interactive login attempt.  I would rather this be done with me needing to manually transfer data.

Just tried it from my Linux netbook.  Instead of asking for the password associated with the value entered for User (a 12 digit number), the site used my Linux user id.  Looks like the -oUser did not get passed.

 sftp ftp.xxxx.com -oUser=166440000000@ssh

jmmckee@xxxxxxxxxxxx's password:


Again, my concern is what QSH will do.  Guess the only option is to try it.

John McKee

On Wed, Jan 18, 2012 at 7:50 AM, Porterfield, Sean <SPorterfield@xxxxxxxxxxxxxxxxxxxxxxx> wrote:
I'm confused.  Are you trying to troubleshoot sftp or PuTTY?

In PuTTY: Click on Data under the Connection category; fill in auto-login username.

sftp: try `sftp -oUser=000000000000@ssh ftp.xxxxx.com`
--
Sean Porterfield


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of jmmckee
flinthills.com
Sent: Tuesday, January 17, 2012 9:12 PM
To: Midrange Systems Technical Discussion
Subject: Re: Odd sftp user name

To add to the puzzle:

From my Linux netbook, I entered this:
sftp 000000000000\@ssh@xxxxxxxxxxxxx

And, I received 000000000000@ssh@xxxxxxxxxxxxx's password:

So, it appears to be related to Putty.

John McKee


On Tue, Jan 17, 2012 at 7:10 PM, Scott Klement <midrange-l@xxxxxxxxxxxxxxxx> wrote:
hi John,

You say that the userid is 123450000000@ssh, and then you say you
only want it to request 123450000000's password. Then you say Putty
requests 'ssh' password.

I don't understand.  Is 'ssh' part of the userid?  Or isn't it?  If
it's not, then what is it, and why are you providing it in the userid field?

sftp typically tries to use @ to separate the userid from the hostname.
 So you'd have something like this:

   sftp john@xxxxxxxxxxx

And that means it'd connect to example.com and sign in with userid john.


On 1/17/2012 3:51 PM, jmmckee flinthills.com wrote:
I am trying to connect to a company using sftp.  They assigned me a
twelve digit user id, which is followed by @ssh.  When I try to log
in, using PuTTY, I get a request for ssh's password.

If user id is 123450000000@ssh and site is ftp.xyz.com, how can I
get the remote system to request 123450000000's password?  I have
tried both ' and ".  Just tried \ in front of the nasty @.  Locked
out, again.

John McKee


This email is confidential, intended only for the named recipient(s) above and may contain information that is privileged.  If you have received this message in error or are not the named recipient(s), please notify the sender immediately and delete this email message from your computer as any and all unauthorized distribution or use of this message is strictly prohibited.  Thank you.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.