Hi to all,
when I try to transfer data from my laptop to the desktop using SSH I get the following massage:
:~> ssh nobani@192.168.1.3
The authenticity of host '192.168.1.3 (192.168.1.3)' can't be established.
RSA key fingerprint is f3:94:fa:7c:f1:92:07:45:3c:5b:99:51:dc:b7:a1:ff.
Are you sure you want to continue connecting (yes/no)?
I wonder is it normal massage or is there something not good?
what do you advice me to do?
I am using openSUSE11.2 with KDE on both machine
A lot of thanks.
nobani
This is a normal warning the first time since both ssh parties have not been introduced to each other yet.
If you are certain that there can be no other computer pretending to be your desktop, then go ahead and type yes.
If you are very paranoid, you would copy over the key yourself before the first connection using some other way like a flash drive or floppies. 
LOL
Thanks a lot, I am normal man 
let me start transferring the data.
Cheers.
Sorry,
What is the meaning of the following:
m@linux-m9c6:~> cd /data/
morad@linux-m9c6:/data> scp nobani@192.168.1.3:/data/geant .
Password:
On this machine the G4SYSTEM=Linux-g++
m@linux-m9c6:/data>
???
What is the problem? The message printed out?
Also what is geant? A file or a directory? If a directory, you need to use -r to get the contents.
sorry it is a directory, :shame:
I try Also the following:
@linux-m9c6:/data> scp -r nobani@192.168.1.3:/data/geant .
Password:
On this machine the G4SYSTEM=Linux-g++
@linux-m9c6:/data>
the geant is contain about 3 GB, usually its take about 10 minutes to finishز
also I try this:
m@linux-m9c6:~> ssh nobani@192.168.1.3
Password:
Last login: Sat Jun 12 13:32:51 2010 from 192.168.1.2
Have a lot of fun...
On this machine the G4SYSTEM=Linux-g++
On this machine the G4INSTALL=/data/geant/geant4.9.3
On this machine the G4LIB=/data/geant/geant4.9.3/lib
On this machine the G4LEVELGAMMADATA=/data/geant/geant4.9.3/data/PhotonEvaporation2.0
On this machine the G4RADIOACTIVEDATA=/data/geant/geant4.9.3/data/RadioactiveDecay3.2
On this machine the G4LEDATA=/data/geant/geant4.9.3/data/G4EMLOW6.9
On this machine the G4NEUTRONHPDATA=/data/geant/geant4.9.3/data/G4NDL3.13
On this machine the G4ABLADATA=/data/geant/geant4.9.3/data/G4ABLA3.0
On this machine the G4REALSURFACEDATA=/data/geant/geant4.9.3/data/RealSurface1.0
On this machine the CLHEP_BASE_DIR=/data/geant/CLHEP_2.0.4.5
On this machine the CLHEP_INCLUDE_DIR=/data/geant/CLHEP_2.0.4.5/include
On this machine the CLHEP_LIB_DIR=/data/geant/CLHEP_2.0.4.5/lib
On this machine the CLHEP_LIB=CLHEP
On this machine the G4UI_USE_TCSH=1
On this machine the G4VIS_BUILD_DAWN_DRIVER=1
On this machine the G4VIS_BUILD_OPENGLX_DRIVER=1
On this machine the G4VIS_BUILD_VRML_DRIVER=1
On this machine the G4VIS_USE_DAWN=1
On this machine the G4VIS_USE_OPENGLX=1
On this machine the G4VIS_USE_VRML=1
On this machine the XMFLAGS=
On this machine the XMLIBS=
On this machine the XMFLAGS=
On this machine the XAWFLAGS=
On this machine the XAWLIBS=
On this machine the G4LIB_BUILD_SHARED=1
nobani@linux-ficd:~> cd /data/
nobani@linux-ficd:/data> ls
geant lost+found
nobani@linux-ficd:/data> scp -r geant/ m@192.168.1.2:/data/
note that the console suspend at this stage
thanks a lot
Printing out all those messages will confuse scp. You can use the technique below in .bashrc to check if your shell is interactive and only if this is the case print out the messages:
Is this Shell Interactive? - Bash Reference Manual
I get the following from the laptop :
This shell is interactive
m@linux-m9c6:~>
and the same massage from the other desktop
Yes, it will be interactive when you login with ssh, but it will not be interactive when you use scp. The point is to put all your debugging echos inside the case where it is interactive, and output nothing when it is not interactive. e.g.
case "$-" in
*i*) echo On this machine the G4SYSTEM=$G4SYSTEM
etc etc etc
;;
esac
That way the debugging output will not confuse scp.