03-19-2010
Hi,
Just make sure below this for SFTP connection.
1. Keypair is generated properly.
2. Just copy rsa_pub_id file to target sever to authorisedkey file and make sure key should be in one line while asting in the authorisedkey file.
3. Proper permission to
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello all,
need help to write a smal script to send files to remote sys using sftp @ HP UNIX environment.
Thanks (1 Reply)
Discussion started by: ravi.sadani19
1 Replies
2. UNIX for Dummies Questions & Answers
Thank you for the help (2 Replies)
Discussion started by: scooter17
2 Replies
3. Solaris
Hi all,
I just bought a new system, but am unable to configure network on it..
am using a nge0 ethernet interface to login.
i've tried all i knew but not of the webpages seem to open.
Here is what i've done..
ifconfig nge0 plumb
ifconfig -a
(nge0) was being displayed as up and running.
... (23 Replies)
Discussion started by: wrapster
23 Replies
4. Cybersecurity
HI all,
I have setup IPTables firewall/Router and my home network, with address space 192.168.10.XXX
Form my private network hosts, i can ping the gateway ( 192.168.10.101 ) , but the reverse is not happening.
Can someone help me as of what i need to do, so that i can ping my private... (1 Reply)
Discussion started by: chandan_m
1 Replies
5. Shell Programming and Scripting
Hi all,
I need some help,whole process of setting up SFTP .
I know the process of invoking the sftp> prompt,but
I need how to know how to generate an sftp key,how to exchange a key,how to save a key at some location.What are all the proceesss we need to do while generating a key and trying to... (0 Replies)
Discussion started by: ramprius
0 Replies
6. AIX
To all the expert out there,
I have successfully setup a AIX to AIX auto-SFTP with no password requested. Now my aim is to setup a AIX to Window auto-SFTP with no password requested as well. But I faced some problem that I do not know how to solve it.
I have followed the setting of AIX's... (8 Replies)
Discussion started by: kwliew999
8 Replies
7. Linux
Hi
I have setup an sftp account user my problem is,I want this sftp user will be able to access /export/home/sftp/Information folder only and its subdirectory.
However when i tested out via winscp the sftp user account is able to access/see other directories which i dont want to happen. ... (1 Reply)
Discussion started by: kaibiganmi
1 Replies
8. Red Hat
Hi
I need a specific user to be able to sftp to a server and get files from a specific location. The location is not the users home dir, i don't want the user to be able to view anything else apart from the files in that area.
e.g ftp file are is - /logging/phplogs
e.g user home is... (1 Reply)
Discussion started by: duckeggs01
1 Replies
9. Shell Programming and Scripting
To set up a sftp connection between Server A, Server B and a website.com
A batch script will start from Server A and Server B and Connect to the Website server
How to setup sftp connection between server's. (1 Reply)
Discussion started by: aix_admin_007
1 Replies
10. UNIX for Advanced & Expert Users
Hi
Could you please help me out how to configure between two server I don't have admin idea to setup the Sftp server
the requirements is we want to send a file to vendor so we need sftp configuration so that can we can send file through sftp
Please let me know what should I ask to vendor... (1 Reply)
Discussion started by: jagu
1 Replies
LEARN ABOUT REDHAT
pdl::tips
TIPS(1) User Contributed Perl Documentation TIPS(1)
NAME
PDL::Tips - Small tidbits of useful arcana. Programming tidbits and such.
SYNOPSIS
use PDL;
# Whatever happens here.
DESCRIPTION
This page documents useful idioms, helpful hints and tips for using Perl Data Language v2.0.
Help
Use "help help" within perldl or the "pdldoc" program from the command line for access to the PerlDL documentation. HTML versions of the
pages should also be present, in the HtmlDocs/PDL directory of the PDL distribution. To find this directory, try the following
perldl> foreach ( map{"$_/PDL/HtmlDocs"}@INC ) { p "$_
" if -d $_ }
Indexing idioms
The following code normalizes a bunch of vectors in $a. This works regardless of the dimensionality of $a.
$a /= $a->sumover->dummy(0);
What is actually happening?
If you want to see what the code is actually doing, try the command
PDL::Core::set_debugging(1);
somewhere. This spews out a huge amount of debug info for PDL into STDOUT. It is planned to eventually make this redirectable and the mes-
sages selectable more accurately.
Many of the messages come from "Basic/Core/pdlapi.c" and you can look at the source to see what is going on.
If you have any extra time to work on these mechanisms, infrom the pdl-porters mailing list.
Memory savings
If you are running recursively something that selects certain indices of a large piddle, like
while(1) {
$inds = where($a>0);
$a = $a->index($inds);
$b = $b->index($inds);
func($b,$a);
}
If you are not writing to $b, it saves a lot of memory to change this to
$b = $b->index($inds)->sever;
The new method "sever" is a causes the write-back relation to be forgotten. It is like copy except it changes the original piddle and
returns it).
Of course, the probably best way to do the above is
$inds = xvals ($a->long);
while(1) {
$inds0 = where($a>0);
$inds1 = $inds->index($inds)->sever;
$a = $a0->index($inds1);
$b = $b->index($inds1)->sever;
func($b,$a);
}
which doesn't save all the temporary instances of $a in memory. See "mandel.pl" in the Demos subdirectory of the PerlDL distribution for
an example.
PP speed
If you really want to write speedy PP code, the first thing you need to do is to make sure that your C compiler is allowed to do the neces-
sary optimizations.
What this means is that you have to allow as many variables as possible to go into registers:
loop(a) %{
$a() += $COMP(foo_member) * $b()
%}
expands to
for(i=0; i<10000; i++) {
a[i] += __privtrans->foo_member * b[i];
}
is about the worst you can do, since your C compiler is not allowed to assume that "a" doesn't clobber "foo_member" which completely
inhibits vectorization. Instead, do
float foo = $COMP(foo_member);
loop(a) %{
$a() += foo * $b();
%}
This is not a restriction caused by PP but by ANSI C semantics. Of course, we could copy the struct into local varibles and back but that
could cause very strange things sometimes.
There are many other issues on organizing loops.
We are currently planning to make PP able to do fixed-width things as well as physical piddles (where looping over the first dimensions
would be cheaper as there are less distinct increments, which might make a difference on machines with a small number of registers).
AUTHOR
Copyright (C) Tuomas J. Lukka 1997. All rights reserved. Duplication in the same form and printing a copy for yourself allowed.
perl v5.8.0 2000-06-01 TIPS(1)