This knowledge base has moved to the documentation site. Please visit the knowledge base here for the most up to date content. This site is no longer maintained.

SFTP Does not Use the "default" Namespace

Follow

Issue

When I ssh to the management interface, eth0 lands in the default namespace. However, when I sftp to the management interface, eth0 lands in the management namespace. I expect that when I either ssh or sftp to the management interface, I should land in the default namespace.

Environment

  • Cumulus Linux 2.2.x

Resolution

A bug (CM-3593) has been opened to track the engineering resolution of this issue. This article will be updated when the fix to this issue is on the release roadmap, and when the fix has been released. Click Follow above to be notified when this article is updated.

Workaround

Edit /etc/netns/mgmt/ssh/sshd_config.

Change:

Subsystem sftp /usr/lib/openssh/sftp-server

To:

Subsystem sftp ip netns exec default /usr/lib/openssh/sftp-server

References

Comments

This support portal has moved

Cumulus Networks is now part of the NVIDIA Networking Business Unit! The NVIDIA Cumulus Global Support Services (GSS) team has merged its operations with the NVIDIA Mellanox support services team.

You can access NVIDIA Cumulus support content from the Mellanox support portal.

You open and update new cases on the Mellanox support portal. Any previous cases that have been closed have been migrated to the Mellanox support portal.

Cases that are still open on the Cumulus portal will continue to be managed on the Cumulus portal. Once these cases close, they will be moved to the Mellanox support portal.

Powered by Zendesk