Hi,
On Fri, Sep 1, 2017 at 11:08 AM, Dave Young dyoung@redhat.com wrote:
On 08/25/17 at 03:34pm, Ziyue Yang wrote:
When dumping to ssh via local ipv6 address, the ssh parameter in kdump.conf is supposed to have the form like
ssh user@fe80::cc1:8bff:fe90:b95f%eth0
where "%eth0" is an existing network interface supporting ipv6.
This commit adds documents about ssh target format in kdump.conf and kdump.conf.5.
Signed-off-by: Ziyue Yang ziyang@redhat.com
kdump.conf | 5 ++++- kdump.conf.5 | 7 ++++++- 2 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/kdump.conf b/kdump.conf index 57af7b6..7f7566d 100644 --- a/kdump.conf +++ b/kdump.conf @@ -23,7 +23,10 @@ # ssh user@server # - Will scp /proc/vmcore to user@server:<path>/%HOST-%
DATE/,
# supports DNS. -# NOTE: make sure the user has write permissions on the
server.
+# NOTE: +# 1) Make sure the user has write permissions on the server. +# 2) For link local ipv6 addresses, network interface name
is
+# needed, like user@fe80::1%eth0:/var/crash/.
Isn't this standard, do we need explictly say it in documentation?
The ipv6 format in ssh is different from the one in nfs, like user@fe80::1%eth0 and [fe80::1%eth0]:/nfs/
Maybe there is a need? I'm not sure.
# # sshkey <path> # - Will use the sshkey to do ssh dump. diff --git a/kdump.conf.5 b/kdump.conf.5 index 11b1fad..720d55f 100644 --- a/kdump.conf.5 +++ b/kdump.conf.5 @@ -42,8 +42,13 @@ mount point. .B ssh user@server .RS Will scp /proc/vmcore to user@server:<path>/%HOST-%DATE/, -supports DNS. NOTE: make sure user has necessary write permissions on +supports DNS. +.PP +Note 1: make sure user has necessary write permissions on server and that a fqdn is used as the server name. +.PP +Note 2: for link local ipv6 addresses, network interface name is +needed in server field, like user@fe80::1%eth0:/var/crash/. .RE
.B sshkey <path>
2.9.3 _______________________________________________ kexec mailing list -- kexec@lists.fedoraproject.org To unsubscribe send an email to kexec-leave@lists.fedoraproject.org
Thanks Dave
Thanks