- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- No wildcard expansions found
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 06:24 AM
10-11-2004 06:24 AM
No wildcard expansions found
I am using the scp command to get some files from a remote server
scp user1@db1:path/Z*.lst .
where path is not my home directory and when I try it is giving me
warning: No wildcard expansions found for '/prod/dbload/Z*.lst'.
Any help/work around on this is highly appreciated.
Thanks,
Sunitha.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 06:30 AM
10-11-2004 06:30 AM
Re: No wildcard expansions found
scp "user1@db1:path/Z*.ls" .
The way you have it, the local shell is doing the wildcard expansion.
HTH
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 06:30 AM
10-11-2004 06:30 AM
Re: No wildcard expansions found
I am not getting the same behaviour with my 3.8.1p1 client. I would try escaping the wild character or putting it in quotes. For ex.,
scp "user1@db1:/prod/dblocal/Z*.lst" or
scp user1@db1:/prod/dblocal/Z\*.lst
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 06:45 AM
10-11-2004 06:45 AM
Re: No wildcard expansions found
Thanks for your responses.
I did try using quotes and it is giving me this warning message now.
scp "user1@db1:path/Z\*.lst" .
warning: Cannot open source file db1:path/Z\*.lst
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 06:50 AM
10-11-2004 06:50 AM
Re: No wildcard expansions found
Thanks
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 06:55 AM
10-11-2004 06:55 AM
Re: No wildcard expansions found
I am still getting the same warning message no wildcard expansions found.
Thanks,
Sunitha.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 06:59 AM
10-11-2004 06:59 AM
Re: No wildcard expansions found
What version of ssh are you using?. I would try with HP's from software.hp.com.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 07:03 AM
10-11-2004 07:03 AM
Re: No wildcard expansions found
Thanks everyone for your time and help.
Sri it's
SSH Version 2.0.12.
Thanks,
Sunitha.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 07:04 AM
10-11-2004 07:04 AM
Re: No wildcard expansions found
..
Thanks
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 07:07 AM
10-11-2004 07:07 AM
Re: No wildcard expansions found
May be. But the same command was working properly few weeks.
I was wondering if this was a bug.
Thanks,
Sunitha.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 07:10 AM
10-11-2004 07:10 AM
Re: No wildcard expansions found
This should work.
# scp "user1@db1:/..../Z*.lst"
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 07:11 AM
10-11-2004 07:11 AM
Re: No wildcard expansions found
Thanks
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 07:16 AM
10-11-2004 07:16 AM
Re: No wildcard expansions found
scp -v "user@hostname:/
Thanks
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 07:28 AM
10-11-2004 07:28 AM
Re: No wildcard expansions found
thanks everyone.
Prashant,
scp -v user1@db1:path/Z*.lst .
warning: Development-time debugging not compiled in.
warning: To enable, configure with --enable-debug and recompile.
Development-time debugging not compiled in.
To enable, configure with --enable-debug and recompile.
debug: connecting to db1...
debug: entering event loop
debug: ssh_client_wrap: creating transport protocol
debug: ssh_client_wrap: creating userauth protocol
debug: Host key found from the database.
debug: Ssh2AuthPubKeyClient/authc-pubkey.c:226: ssh_client_auth_pubkey_send_signature
debug: Ssh2AuthPubKeyClient/authc-pubkey.c:262: ssh_client_auth_pubkey_send_signature: reading path/.ssh2/id_dsa_1024_a
debug: Ssh2/ssh2.c:306: client_authenticated
debug: DISPLAY not set; X11 forwarding disabled.
warning: No wildcard expansions found for '/prod/dbload/Z*.lst'.
Thanks,
Sunitha.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 07:38 AM
10-11-2004 07:38 AM
Re: No wildcard expansions found
scp "user1@db1:path/Z[a-zA-Z]*.lst" .
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 07:39 AM
10-11-2004 07:39 AM
Re: No wildcard expansions found
scp user1@db1:path/Z[a-zA-Z]*.lst .
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 07:43 AM
10-11-2004 07:43 AM
Re: No wildcard expansions found
Thanks for your response Anil. But I am getting the same error.
scp user1@db1:path/Z[a-zA-Z]*.lst .
warning: No wildcard expansions found for 'path/Z[a-zA-Z]*.lst'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 07:45 AM
10-11-2004 07:45 AM
Re: No wildcard expansions found
Did you upgrade/reinstall ssh recently?. I don't see any reason why it worked before and not anymore without any changes.
It looks like a commercial version. I believe it's the ssh's inability to deal with wildcards. If so, you will need to work with the vendor. I use my own compiled version of 3.8.1p1 from openssh.org and it can work with wild-chars just fine.
You can try HP's openssh if yours are HP systems and it may impact your ssh setup.
http://software.hp.com/portal/swdepot/displayProductInfo.do?productNumber=T1471AA
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 07:50 AM
10-11-2004 07:50 AM
Re: No wildcard expansions found
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 07:59 AM
10-11-2004 07:59 AM
Re: No wildcard expansions found
How many files are there and how big..
Thanks
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 08:05 AM
10-11-2004 08:05 AM
Re: No wildcard expansions found
What does above return???
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 08:09 AM
10-11-2004 08:09 AM
Re: No wildcard expansions found
Thanks everyone for your time and quick responses. thank you so much.
Anil,
I have checked that the files exist under the specific path and also I have the necessary permissions. Thanks for checking on this.
Prashant,
I did try coping just one file and that was successful. I have more than 100 files. Some of them are very small in Kb and some of the files may be 10 of them are around a Meg. Also when I copying from my home directory wild card works fine.
Example : scp user1@db1:$HOME/* . -- Works Fine
Really appreciate your time and help on this.
Thanks,
Sunitha.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 08:14 AM
10-11-2004 08:14 AM
Re: No wildcard expansions found
Anil,
Unfortunately I am getting the following message when I try
echo "`cp user1@db1:path/Z*.lst .`"
cp: cannot access user1@db1:path/Z*.lst: No such file or directory
Thanks,
Sunitha.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 08:16 AM
10-11-2004 08:16 AM
Re: No wildcard expansions found
echo "`scp user1@db1:path/Z*.lst .`"
I did cp, which should have been scp.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-11-2004 08:16 AM
10-11-2004 08:16 AM
Re: No wildcard expansions found
sftp user@server:/path/
mget Z*.lst
Just a try if it gives an error. and if it works..then also u r done.
Thanks
Prashant